equal
deleted
inserted
replaced
57 [1] |
57 [1] |
58 |
58 |
59 formatter output with paths: |
59 formatter output with paths: |
60 |
60 |
61 $ echo 'dupe:pushurl = https://example.com/dupe' >> .hg/hgrc |
61 $ echo 'dupe:pushurl = https://example.com/dupe' >> .hg/hgrc |
62 $ hg paths -Tjson |
62 $ hg paths -Tjson | sed 's|\\\\|\\|g' |
63 [ |
63 [ |
64 { |
64 { |
65 "name": "dupe", |
65 "name": "dupe", |
66 "pushurl": "https://example.com/dupe", |
66 "pushurl": "https://example.com/dupe", |
67 "url": "$TESTTMP/b#tip" |
67 "url": "$TESTTMP/b#tip" (glob) |
68 }, |
68 }, |
69 { |
69 { |
70 "name": "expand", |
70 "name": "expand", |
71 "url": "$TESTTMP/a/$SOMETHING/bar" |
71 "url": "$TESTTMP/a/$SOMETHING/bar" (glob) |
72 } |
72 } |
73 ] |
73 ] |
74 $ hg paths -Tjson dupe |
74 $ hg paths -Tjson dupe | sed 's|\\\\|\\|g' |
75 [ |
75 [ |
76 { |
76 { |
77 "name": "dupe", |
77 "name": "dupe", |
78 "pushurl": "https://example.com/dupe", |
78 "pushurl": "https://example.com/dupe", |
79 "url": "$TESTTMP/b#tip" |
79 "url": "$TESTTMP/b#tip" (glob) |
80 } |
80 } |
81 ] |
81 ] |
82 $ hg paths -Tjson -q unknown |
82 $ hg paths -Tjson -q unknown |
83 [ |
83 [ |
84 ] |
84 ] |