Show More
@@ -5110,7 +5110,7 b' def paths(ui, repo, search=None):' | |||
|
5110 | 5110 | if search: |
|
5111 | 5111 | for name, path in sorted(ui.paths.iteritems()): |
|
5112 | 5112 | if name == search: |
|
5113 | ui.status("%s\n" % util.hidepassword(path.loc)) | |
|
5113 | ui.status("%s\n" % util.hidepassword(path.rawloc)) | |
|
5114 | 5114 | return |
|
5115 | 5115 | if not ui.quiet: |
|
5116 | 5116 | ui.warn(_("not found!\n")) |
@@ -5121,7 +5121,7 b' def paths(ui, repo, search=None):' | |||
|
5121 | 5121 | ui.write("%s\n" % name) |
|
5122 | 5122 | else: |
|
5123 | 5123 | ui.write("%s = %s\n" % (name, |
|
5124 | util.hidepassword(path.loc))) | |
|
5124 | util.hidepassword(path.rawloc))) | |
|
5125 | 5125 | |
|
5126 | 5126 | @command('phase', |
|
5127 | 5127 | [('p', 'public', False, _('set changeset phase to public')), |
@@ -4,7 +4,7 b'' | |||
|
4 | 4 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
5 | 5 | $ cd a |
|
6 | 6 | $ echo '[paths]' >> .hg/hgrc |
|
7 | $ echo 'dupe = ../b' >> .hg/hgrc | |
|
7 | $ echo 'dupe = ../b#tip' >> .hg/hgrc | |
|
8 | 8 | $ echo 'expand = $SOMETHING/bar' >> .hg/hgrc |
|
9 | 9 | $ hg in dupe |
|
10 | 10 | comparing with $TESTTMP/b (glob) |
@@ -17,25 +17,25 b'' | |||
|
17 | 17 | [1] |
|
18 | 18 | $ cd a |
|
19 | 19 | $ hg paths |
|
20 | dupe = $TESTTMP/b (glob) | |
|
20 | dupe = $TESTTMP/b#tip (glob) | |
|
21 | 21 | expand = $TESTTMP/a/$SOMETHING/bar (glob) |
|
22 | 22 | $ SOMETHING=foo hg paths |
|
23 | dupe = $TESTTMP/b (glob) | |
|
23 | dupe = $TESTTMP/b#tip (glob) | |
|
24 | 24 | expand = $TESTTMP/a/foo/bar (glob) |
|
25 | 25 | #if msys |
|
26 | 26 | $ SOMETHING=//foo hg paths |
|
27 | dupe = $TESTTMP/b (glob) | |
|
27 | dupe = $TESTTMP/b#tip (glob) | |
|
28 | 28 | expand = /foo/bar |
|
29 | 29 | #else |
|
30 | 30 | $ SOMETHING=/foo hg paths |
|
31 | dupe = $TESTTMP/b (glob) | |
|
31 | dupe = $TESTTMP/b#tip (glob) | |
|
32 | 32 | expand = /foo/bar |
|
33 | 33 | #endif |
|
34 | 34 | $ hg paths -q |
|
35 | 35 | dupe |
|
36 | 36 | expand |
|
37 | 37 | $ hg paths dupe |
|
38 | $TESTTMP/b (glob) | |
|
38 | $TESTTMP/b#tip (glob) | |
|
39 | 39 | $ hg paths -q dupe |
|
40 | 40 | $ hg paths unknown |
|
41 | 41 | not found! |
General Comments 0
You need to be logged in to leave comments.
Login now