mercurial/commands.py
changeset 7743 ec9b726a9428
parent 7739 edcb56991afe
child 7757 af6a63438a8a
equal deleted inserted replaced
7742:fceb9fa01a00 7743:ec9b726a9428
  2107         p = [cp.node() for cp in ctx.parents()]
  2107         p = [cp.node() for cp in ctx.parents()]
  2108 
  2108 
  2109     displayer = cmdutil.show_changeset(ui, repo, opts)
  2109     displayer = cmdutil.show_changeset(ui, repo, opts)
  2110     for n in p:
  2110     for n in p:
  2111         if n != nullid:
  2111         if n != nullid:
  2112              displayer.show(repo[n])
  2112             displayer.show(repo[n])
  2113 
  2113 
  2114 def paths(ui, repo, search=None):
  2114 def paths(ui, repo, search=None):
  2115     """show aliases for remote repositories
  2115     """show aliases for remote repositories
  2116 
  2116 
  2117      Show definition of symbolic path name NAME. If no name is given, show
  2117     Show definition of symbolic path name NAME. If no name is given, show
  2118      definition of available names.
  2118     definition of available names.
       
  2119 
  2119     Path names are defined in the [paths] section of /etc/mercurial/hgrc
  2120     Path names are defined in the [paths] section of /etc/mercurial/hgrc
  2120     and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too.
  2121     and $HOME/.hgrc. If run inside a repository, .hg/hgrc is used, too.
  2121 
  2122 
  2122     See 'hg help urls' for more information.
  2123     See 'hg help urls' for more information.
  2123     """
  2124     """