Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 27320:59d5f619e69e stable
paths: include #fragment again
Since 5f2a4fc3c4fa, #fragment was missing in "hg paths" output because
path.loc was changed to a parsed URL. "hg paths" should use path.rawloc to
show complete URLs.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 07 Dec 2015 21:42:50 +0900 |
parents | ed5f20f9c22e |
children | 944af8e2eb4c ca8ada499529 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Dec 07 17:39:31 2015 +0100 +++ b/mercurial/commands.py Mon Dec 07 21:42:50 2015 +0900 @@ -5110,7 +5110,7 @@ if search: for name, path in sorted(ui.paths.iteritems()): if name == search: - ui.status("%s\n" % util.hidepassword(path.loc)) + ui.status("%s\n" % util.hidepassword(path.rawloc)) return if not ui.quiet: ui.warn(_("not found!\n")) @@ -5121,7 +5121,7 @@ ui.write("%s\n" % name) else: ui.write("%s = %s\n" % (name, - util.hidepassword(path.loc))) + util.hidepassword(path.rawloc))) @command('phase', [('p', 'public', False, _('set changeset phase to public')),