Show More
@@ -508,7 +508,7 b' def pytest(test, wd, options, replacemen' | |||||
508 | return run(cmd, wd, options, replacements) |
|
508 | return run(cmd, wd, options, replacements) | |
509 |
|
509 | |||
510 | def shtest(test, wd, options, replacements): |
|
510 | def shtest(test, wd, options, replacements): | |
511 | cmd = '"%s"' % test |
|
511 | cmd = '%s "%s"' % (options.shell, test) | |
512 | vlog("# Running", cmd) |
|
512 | vlog("# Running", cmd) | |
513 | return run(cmd, wd, options, replacements) |
|
513 | return run(cmd, wd, options, replacements) | |
514 |
|
514 |
@@ -868,10 +868,10 b' file specified by acl.config does not ex' | |||||
868 | added 3 changesets with 3 changes to 3 files |
|
868 | added 3 changesets with 3 changes to 3 files | |
869 | calling hook pretxnchangegroup.acl: hgext.acl.hook |
|
869 | calling hook pretxnchangegroup.acl: hgext.acl.hook | |
870 | acl: checking access for user "barney" |
|
870 | acl: checking access for user "barney" | |
871 |
error: pretxnchangegroup.acl hook raised an exception: [Errno 2] |
|
871 | error: pretxnchangegroup.acl hook raised an exception: [Errno 2] *: '../acl.config' (glob) | |
872 | transaction abort! |
|
872 | transaction abort! | |
873 | rollback completed |
|
873 | rollback completed | |
874 | abort: No such file or directory: ../acl.config |
|
874 | abort: *: ../acl.config (glob) | |
875 | no rollback information available |
|
875 | no rollback information available | |
876 | 0:6675d58eff77 |
|
876 | 0:6675d58eff77 | |
877 |
|
877 |
@@ -123,11 +123,11 b' Issue683: peculiarity with hg revert of ' | |||||
123 | ? a.orig |
|
123 | ? a.orig | |
124 |
|
124 | |||
125 | $ hg add c && echo "unexpected addition of missing file" |
|
125 | $ hg add c && echo "unexpected addition of missing file" | |
126 | c: No such file or directory |
|
126 | c: * (glob) | |
127 | [1] |
|
127 | [1] | |
128 | $ echo c > c |
|
128 | $ echo c > c | |
129 | $ hg add d c && echo "unexpected addition of missing file" |
|
129 | $ hg add d c && echo "unexpected addition of missing file" | |
130 | d: No such file or directory |
|
130 | d: * (glob) | |
131 | [1] |
|
131 | [1] | |
132 | $ hg st |
|
132 | $ hg st | |
133 | M a |
|
133 | M a |
@@ -80,5 +80,5 b' attack /tmp/test' | |||||
80 | $ hg manifest -r4 |
|
80 | $ hg manifest -r4 | |
81 | /tmp/test |
|
81 | /tmp/test | |
82 | $ hg update -Cr4 |
|
82 | $ hg update -Cr4 | |
83 |
abort: |
|
83 | abort: *: $TESTTMP/target//tmp/test (glob) | |
84 | [255] |
|
84 | [255] |
@@ -48,8 +48,8 b' backout of backout is as if nothing happ' | |||||
48 | $ hg backout -d '3 0' --merge tip --tool=true |
|
48 | $ hg backout -d '3 0' --merge tip --tool=true | |
49 | removing a |
|
49 | removing a | |
50 | changeset 3:7f6d0f120113 backs out changeset 2:de31bdc76c0d |
|
50 | changeset 3:7f6d0f120113 backs out changeset 2:de31bdc76c0d | |
51 | $ cat a 2>/dev/null || echo cat: a: No such file or directory |
|
51 | $ test -f a | |
52 | cat: a: No such file or directory |
|
52 | [1] | |
53 |
|
53 | |||
54 | across branch |
|
54 | across branch | |
55 |
|
55 |
@@ -4,8 +4,8 b'' | |||||
4 | abort: error: Connection refused |
|
4 | abort: error: Connection refused | |
5 | [255] |
|
5 | [255] | |
6 |
|
6 | |||
7 | $ test -d copy || echo copy: No such file or directory |
|
7 | $ test -d copy | |
8 | copy: No such file or directory |
|
8 | [1] | |
9 |
|
9 | |||
10 | $ cat > dumb.py <<EOF |
|
10 | $ cat > dumb.py <<EOF | |
11 | > import BaseHTTPServer, SimpleHTTPServer, os, signal |
|
11 | > import BaseHTTPServer, SimpleHTTPServer, os, signal |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | Setting up test |
|
3 | Setting up test | |
2 |
|
4 | |||
3 | $ hg init test |
|
5 | $ hg init test | |
@@ -375,7 +377,7 b' Outgoing -R full.hg vs partial2 in parti' | |||||
375 | Outgoing -R does-not-exist.hg vs partial2 in partial |
|
377 | Outgoing -R does-not-exist.hg vs partial2 in partial | |
376 |
|
378 | |||
377 | $ hg -R bundle://../does-not-exist.hg outgoing ../partial2 |
|
379 | $ hg -R bundle://../does-not-exist.hg outgoing ../partial2 | |
378 |
abort: |
|
380 | abort: *: ../does-not-exist.hg (glob) | |
379 | [255] |
|
381 | [255] | |
380 | $ cd .. |
|
382 | $ cd .. | |
381 |
|
383 | |||
@@ -408,7 +410,7 b' When cloning from a non-copiable reposit' | |||||
408 | recurse infinitely (issue 2528) |
|
410 | recurse infinitely (issue 2528) | |
409 |
|
411 | |||
410 | $ hg clone full.hg '' |
|
412 | $ hg clone full.hg '' | |
411 | abort: No such file or directory |
|
413 | abort: * (glob) | |
412 | [255] |
|
414 | [255] | |
413 |
|
415 | |||
414 | test for http://mercurial.selenic.com/bts/issue216 |
|
416 | test for http://mercurial.selenic.com/bts/issue216 |
@@ -10,7 +10,7 b' Prepare repo a:' | |||||
10 |
|
10 | |||
11 | Create a non-inlined filelog: |
|
11 | Create a non-inlined filelog: | |
12 |
|
12 | |||
13 | $ python -c 'for x in range(10000): print x' >> data1 |
|
13 | $ python -c 'file("data1", "wb").write("".join("%s\n" % x for x in range(10000)))' | |
14 | $ for j in 0 1 2 3 4 5 6 7 8 9; do |
|
14 | $ for j in 0 1 2 3 4 5 6 7 8 9; do | |
15 | > cat data1 >> b |
|
15 | > cat data1 >> b | |
16 | > hg commit -m test |
|
16 | > hg commit -m test | |
@@ -43,7 +43,7 b' Default operation:' | |||||
43 | Invalid dest '' must abort: |
|
43 | Invalid dest '' must abort: | |
44 |
|
44 | |||
45 | $ hg clone . '' |
|
45 | $ hg clone . '' | |
46 | abort: No such file or directory |
|
46 | abort: * (glob) | |
47 | [255] |
|
47 | [255] | |
48 |
|
48 | |||
49 | No update, with debug option: |
|
49 | No update, with debug option: | |
@@ -85,7 +85,7 b' Check that path aliases are expanded:' | |||||
85 |
|
85 | |||
86 | $ hg clone -q -U --config 'paths.foobar=a#0' foobar f |
|
86 | $ hg clone -q -U --config 'paths.foobar=a#0' foobar f | |
87 | $ hg -R f showconfig paths.default |
|
87 | $ hg -R f showconfig paths.default | |
88 | $TESTTMP/a#0 |
|
88 | $TESTTMP/a#0 (glob) | |
89 |
|
89 | |||
90 | Use --pull: |
|
90 | Use --pull: | |
91 |
|
91 | |||
@@ -107,7 +107,7 b' Use --pull:' | |||||
107 | Invalid dest '' with --pull must abort (issue2528): |
|
107 | Invalid dest '' with --pull must abort (issue2528): | |
108 |
|
108 | |||
109 | $ hg clone --pull a '' |
|
109 | $ hg clone --pull a '' | |
110 | abort: No such file or directory |
|
110 | abort: * (glob) | |
111 | [255] |
|
111 | [255] | |
112 |
|
112 | |||
113 | Clone to '.': |
|
113 | Clone to '.': |
@@ -73,7 +73,7 b' commit added file that has been deleted' | |||||
73 | $ cd .. |
|
73 | $ cd .. | |
74 |
|
74 | |||
75 | $ hg commit -m commit-14 does-not-exist |
|
75 | $ hg commit -m commit-14 does-not-exist | |
76 |
abort: does-not-exist: |
|
76 | abort: does-not-exist: * (glob) | |
77 | [255] |
|
77 | [255] | |
78 | $ ln -s foo baz |
|
78 | $ ln -s foo baz | |
79 | $ hg commit -m commit-15 baz |
|
79 | $ hg commit -m commit-15 baz |
@@ -2,8 +2,8 b'' | |||||
2 | $ cd a |
|
2 | $ cd a | |
3 |
|
3 | |||
4 | $ hg diff inexistent1 inexistent2 |
|
4 | $ hg diff inexistent1 inexistent2 | |
5 | inexistent1: No such file or directory |
|
5 | inexistent1: * (glob) | |
6 | inexistent2: No such file or directory |
|
6 | inexistent2: * (glob) | |
7 |
|
7 | |||
8 | $ echo bar > foo |
|
8 | $ echo bar > foo | |
9 | $ hg add foo |
|
9 | $ hg add foo |
@@ -1,6 +1,6 b'' | |||||
1 | $ hg init |
|
1 | $ hg init | |
2 |
|
2 | |||
3 |
$ python -c ' |
|
3 | $ python -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")' | |
4 | $ hg ci -Ama -d '1 0' |
|
4 | $ hg ci -Ama -d '1 0' | |
5 | adding a |
|
5 | adding a | |
6 |
|
6 |
@@ -1,6 +1,6 b'' | |||||
1 | import sys, os, subprocess |
|
1 | import sys, os, subprocess | |
2 |
|
2 | |||
3 | if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']): |
|
3 | if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']): | |
4 | sys.exit(80) |
|
4 | sys.exit(80) | |
5 |
|
5 | |||
6 | from mercurial import util, scmutil, extensions |
|
6 | from mercurial import util, scmutil, extensions |
@@ -233,7 +233,7 b' override commit message' | |||||
233 | > msg.set_payload('email commit message\n' + patch) |
|
233 | > msg.set_payload('email commit message\n' + patch) | |
234 | > msg['Subject'] = 'email patch' |
|
234 | > msg['Subject'] = 'email patch' | |
235 | > msg['From'] = 'email patcher' |
|
235 | > msg['From'] = 'email patcher' | |
236 |
> sys. |
|
236 | > file(sys.argv[2], 'wb').write(msg.as_string()) | |
237 | > EOF |
|
237 | > EOF | |
238 |
|
238 | |||
239 |
|
239 | |||
@@ -246,7 +246,7 b' plain diff in email, subject, message bo' | |||||
246 | added 1 changesets with 2 changes to 2 files |
|
246 | added 1 changesets with 2 changes to 2 files | |
247 | updating to branch default |
|
247 | updating to branch default | |
248 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
248 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
249 |
$ python mkmsg.py diffed-tip.patch |
|
249 | $ python mkmsg.py diffed-tip.patch msg.patch | |
250 | $ hg --cwd b import ../msg.patch |
|
250 | $ hg --cwd b import ../msg.patch | |
251 | applying ../msg.patch |
|
251 | applying ../msg.patch | |
252 | $ hg --cwd b tip | grep email |
|
252 | $ hg --cwd b tip | grep email | |
@@ -308,7 +308,8 b' hg export in email, should use patch hea' | |||||
308 | added 1 changesets with 2 changes to 2 files |
|
308 | added 1 changesets with 2 changes to 2 files | |
309 | updating to branch default |
|
309 | updating to branch default | |
310 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
310 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
311 |
$ python mkmsg.py exported-tip.patch |
|
311 | $ python mkmsg.py exported-tip.patch msg.patch | |
|
312 | $ cat msg.patch | hg --cwd b import - | |||
312 | applying patch from stdin |
|
313 | applying patch from stdin | |
313 | $ hg --cwd b tip | grep second |
|
314 | $ hg --cwd b tip | grep second | |
314 | summary: second change |
|
315 | summary: second change | |
@@ -325,7 +326,7 b" The '---' tests the gitsendmail handling" | |||||
325 | > msg.set_payload('email patch\n\nnext line\n---\n' + patch) |
|
326 | > msg.set_payload('email patch\n\nnext line\n---\n' + patch) | |
326 | > msg['Subject'] = '[PATCH] email patch' |
|
327 | > msg['Subject'] = '[PATCH] email patch' | |
327 | > msg['From'] = 'email patcher' |
|
328 | > msg['From'] = 'email patcher' | |
328 |
> sys. |
|
329 | > file(sys.argv[2], 'wb').write(msg.as_string()) | |
329 | > EOF |
|
330 | > EOF | |
330 |
|
331 | |||
331 |
|
332 | |||
@@ -338,7 +339,8 b' plain diff in email, [PATCH] subject, me' | |||||
338 | added 1 changesets with 2 changes to 2 files |
|
339 | added 1 changesets with 2 changes to 2 files | |
339 | updating to branch default |
|
340 | updating to branch default | |
340 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
341 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
341 |
$ python mkmsg2.py diffed-tip.patch |
|
342 | $ python mkmsg2.py diffed-tip.patch msg.patch | |
|
343 | $ cat msg.patch | hg --cwd b import - | |||
342 | applying patch from stdin |
|
344 | applying patch from stdin | |
343 | $ hg --cwd b tip --template '{desc}\n' |
|
345 | $ hg --cwd b tip --template '{desc}\n' | |
344 | email patch |
|
346 | email patch |
@@ -818,6 +818,7 b' We have to simulate that here by setting' | |||||
818 | getting changed largefiles |
|
818 | getting changed largefiles | |
819 | 1 largefiles updated, 0 removed |
|
819 | 1 largefiles updated, 0 removed | |
820 | $ cd .. |
|
820 | $ cd .. | |
|
821 | $ chmod -R u+w alice/pubrepo | |||
821 | $ HOME="$ORIGHOME" |
|
822 | $ HOME="$ORIGHOME" | |
822 |
|
823 | |||
823 | Symlink to a large largefile should behave the same as a symlink to a normal file |
|
824 | Symlink to a large largefile should behave the same as a symlink to a normal file |
@@ -77,7 +77,7 b' Interactive merge:' | |||||
77 |
|
77 | |||
78 | $ status |
|
78 | $ status | |
79 | --- status --- |
|
79 | --- status --- | |
80 | file2: No such file or directory |
|
80 | file2: * (glob) | |
81 | C file1 |
|
81 | C file1 | |
82 | --- file1 --- |
|
82 | --- file1 --- | |
83 | 1 |
|
83 | 1 | |
@@ -133,7 +133,7 b' Interactive merge with not enough input:' | |||||
133 |
|
133 | |||
134 | $ status |
|
134 | $ status | |
135 | --- status --- |
|
135 | --- status --- | |
136 | file2: No such file or directory |
|
136 | file2: * (glob) | |
137 | C file1 |
|
137 | C file1 | |
138 | --- file1 --- |
|
138 | --- file1 --- | |
139 | 1 |
|
139 | 1 |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | test merge-tools configuration - mostly exercising filemerge.py |
|
3 | test merge-tools configuration - mostly exercising filemerge.py | |
2 |
|
4 | |||
3 | $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test |
|
5 | $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test |
@@ -123,7 +123,7 b' plain headers' | |||||
123 | A series |
|
123 | A series | |
124 | A uncommitted.patch |
|
124 | A uncommitted.patch | |
125 | % qnew missing |
|
125 | % qnew missing | |
126 | abort: missing: No such file or directory |
|
126 | abort: missing: * (glob) | |
127 | % qnew -m |
|
127 | % qnew -m | |
128 | foo bar |
|
128 | foo bar | |
129 |
|
129 | |||
@@ -190,7 +190,7 b' hg headers' | |||||
190 | A series |
|
190 | A series | |
191 | A uncommitted.patch |
|
191 | A uncommitted.patch | |
192 | % qnew missing |
|
192 | % qnew missing | |
193 | abort: missing: No such file or directory |
|
193 | abort: missing: * (glob) | |
194 | % qnew -m |
|
194 | % qnew -m | |
195 | # HG changeset patch |
|
195 | # HG changeset patch | |
196 | # Parent |
|
196 | # Parent |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | $ fixheaders() |
|
3 | $ fixheaders() | |
2 | > { |
|
4 | > { | |
3 | > sed -e 's/\(Message-Id:.*@\).*/\1/' \ |
|
5 | > sed -e 's/\(Message-Id:.*@\).*/\1/' \ |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | Verify that pending changesets are seen by pretxn* hooks but not by other |
|
3 | Verify that pending changesets are seen by pretxn* hooks but not by other | |
2 | processes that access the destination repo while the hooks are running. |
|
4 | processes that access the destination repo while the hooks are running. | |
3 |
|
5 |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" unix-permissions || exit 80 | |||
|
2 | ||||
1 | $ hg init a |
|
3 | $ hg init a | |
2 | $ cd a |
|
4 | $ cd a | |
3 | $ echo foo > b |
|
5 | $ echo foo > b |
@@ -107,7 +107,7 b' help (bad mq)' | |||||
107 |
|
107 | |||
108 | $ echo "mq=nonexistant" >> $HGRCPATH |
|
108 | $ echo "mq=nonexistant" >> $HGRCPATH | |
109 | $ hg help qrecord |
|
109 | $ hg help qrecord | |
110 |
*** failed to import extension mq from nonexistant: [Errno 2] |
|
110 | *** failed to import extension mq from nonexistant: [Errno 2] * (glob) | |
111 | hg qrecord [OPTION]... PATCH [FILE]... |
|
111 | hg qrecord [OPTION]... PATCH [FILE]... | |
112 |
|
112 | |||
113 | interactively record a new patch |
|
113 | interactively record a new patch |
@@ -372,7 +372,7 b' Ensure --continue restores a correct sta' | |||||
372 | [255] |
|
372 | [255] | |
373 | $ hg resolve --all -t internal:local |
|
373 | $ hg resolve --all -t internal:local | |
374 | $ hg rebase -c |
|
374 | $ hg rebase -c | |
375 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/6215fafa5447-backup.hg |
|
375 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/6215fafa5447-backup.hg (glob) | |
376 | $ hg tglog |
|
376 | $ hg tglog | |
377 | @ 8: 'H2' |
|
377 | @ 8: 'H2' | |
378 | | |
|
378 | | |
@@ -82,7 +82,7 b' should show b deleted' | |||||
82 | should not find b |
|
82 | should not find b | |
83 |
|
83 | |||
84 | $ hg status b |
|
84 | $ hg status b | |
85 | b: No such file or directory |
|
85 | b: * (glob) | |
86 |
|
86 | |||
87 | should show a c e |
|
87 | should show a c e | |
88 |
|
88 |
@@ -134,7 +134,7 b' hg status:' | |||||
134 | hg status modified added removed deleted unknown never-existed ignored: |
|
134 | hg status modified added removed deleted unknown never-existed ignored: | |
135 |
|
135 | |||
136 | $ hg status --color=always modified added removed deleted unknown never-existed ignored |
|
136 | $ hg status --color=always modified added removed deleted unknown never-existed ignored | |
137 | never-existed: No such file or directory |
|
137 | never-existed: * (glob) | |
138 | \x1b[0;32;1mA added\x1b[0m (esc) |
|
138 | \x1b[0;32;1mA added\x1b[0m (esc) | |
139 | \x1b[0;31;1mR removed\x1b[0m (esc) |
|
139 | \x1b[0;31;1mR removed\x1b[0m (esc) | |
140 | \x1b[0;36;1;4m! deleted\x1b[0m (esc) |
|
140 | \x1b[0;36;1;4m! deleted\x1b[0m (esc) |
@@ -127,7 +127,7 b' hg status:' | |||||
127 | hg status modified added removed deleted unknown never-existed ignored: |
|
127 | hg status modified added removed deleted unknown never-existed ignored: | |
128 |
|
128 | |||
129 | $ hg status modified added removed deleted unknown never-existed ignored |
|
129 | $ hg status modified added removed deleted unknown never-existed ignored | |
130 | never-existed: No such file or directory |
|
130 | never-existed: * (glob) | |
131 | A added |
|
131 | A added | |
132 | R removed |
|
132 | R removed | |
133 | ! deleted |
|
133 | ! deleted |
@@ -23,10 +23,10 b' Add files --- .hgsub files must go first' | |||||
23 | $ hg add -S .hgsub |
|
23 | $ hg add -S .hgsub | |
24 | $ hg add -S foo/.hgsub |
|
24 | $ hg add -S foo/.hgsub | |
25 | $ hg add -S foo/bar |
|
25 | $ hg add -S foo/bar | |
26 | adding foo/bar/z.txt |
|
26 | adding foo/bar/z.txt (glob) | |
27 | $ hg add -S |
|
27 | $ hg add -S | |
28 | adding x.txt |
|
28 | adding x.txt | |
29 | adding foo/y.txt |
|
29 | adding foo/y.txt (glob) | |
30 |
|
30 | |||
31 | Test recursive status without committing anything: |
|
31 | Test recursive status without committing anything: | |
32 |
|
32 | |||
@@ -67,7 +67,7 b' The --subrepos flag overwrite the config' | |||||
67 |
|
67 | |||
68 | $ hg commit -m 0-0-0 --config ui.commitsubrepos=No --subrepos |
|
68 | $ hg commit -m 0-0-0 --config ui.commitsubrepos=No --subrepos | |
69 | committing subrepository foo |
|
69 | committing subrepository foo | |
70 | committing subrepository foo/bar |
|
70 | committing subrepository foo/bar (glob) | |
71 |
|
71 | |||
72 | $ cd foo |
|
72 | $ cd foo | |
73 | $ echo y2 >> y.txt |
|
73 | $ echo y2 >> y.txt | |
@@ -186,7 +186,7 b' Cleanup and final commit:' | |||||
186 | $ rm -r dir |
|
186 | $ rm -r dir | |
187 | $ hg commit --subrepos -m 2-3-2 |
|
187 | $ hg commit --subrepos -m 2-3-2 | |
188 | committing subrepository foo |
|
188 | committing subrepository foo | |
189 | committing subrepository foo/bar |
|
189 | committing subrepository foo/bar (glob) | |
190 |
|
190 | |||
191 | Log with the relationships between repo and its subrepo: |
|
191 | Log with the relationships between repo and its subrepo: | |
192 |
|
192 | |||
@@ -342,7 +342,7 b' cloned:' | |||||
342 | archiving (foo/bar) [================================>] 1/1 (glob) |
|
342 | archiving (foo/bar) [================================>] 1/1 (glob) | |
343 |
|
343 | |||
344 | cloning subrepo foo from $TESTTMP/repo/foo |
|
344 | cloning subrepo foo from $TESTTMP/repo/foo | |
345 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar |
|
345 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar (glob) | |
346 |
|
346 | |||
347 | The newly cloned subrepos contain no working copy: |
|
347 | The newly cloned subrepos contain no working copy: | |
348 |
|
348 | |||
@@ -365,7 +365,7 b' created by archive:' | |||||
365 | $ echo f > foo/f |
|
365 | $ echo f > foo/f | |
366 | $ hg archive --subrepos -r tip archive |
|
366 | $ hg archive --subrepos -r tip archive | |
367 | cloning subrepo foo from $TESTTMP/empty/foo |
|
367 | cloning subrepo foo from $TESTTMP/empty/foo | |
368 | abort: destination '$TESTTMP/almost-empty/foo' is not empty |
|
368 | abort: destination '$TESTTMP/almost-empty/foo' is not empty (glob) | |
369 | [255] |
|
369 | [255] | |
370 |
|
370 | |||
371 | Clone and test outgoing: |
|
371 | Clone and test outgoing: | |
@@ -374,11 +374,11 b' Clone and test outgoing:' | |||||
374 | $ hg clone repo repo2 |
|
374 | $ hg clone repo repo2 | |
375 | updating to branch default |
|
375 | updating to branch default | |
376 | cloning subrepo foo from $TESTTMP/repo/foo |
|
376 | cloning subrepo foo from $TESTTMP/repo/foo | |
377 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar |
|
377 | cloning subrepo foo/bar from $TESTTMP/repo/foo/bar (glob) | |
378 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
378 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
379 | $ cd repo2 |
|
379 | $ cd repo2 | |
380 | $ hg outgoing -S |
|
380 | $ hg outgoing -S | |
381 | comparing with $TESTTMP/repo |
|
381 | comparing with $TESTTMP/repo (glob) | |
382 | searching for changes |
|
382 | searching for changes | |
383 | no changes found |
|
383 | no changes found | |
384 | comparing with $TESTTMP/repo/foo |
|
384 | comparing with $TESTTMP/repo/foo | |
@@ -404,7 +404,7 b' Make nested change:' | |||||
404 | $ hg commit --subrepos -m 3-4-2 |
|
404 | $ hg commit --subrepos -m 3-4-2 | |
405 | committing subrepository foo |
|
405 | committing subrepository foo | |
406 | $ hg outgoing -S |
|
406 | $ hg outgoing -S | |
407 | comparing with $TESTTMP/repo |
|
407 | comparing with $TESTTMP/repo (glob) | |
408 | searching for changes |
|
408 | searching for changes | |
409 | changeset: 3:2655b8ecc4ee |
|
409 | changeset: 3:2655b8ecc4ee | |
410 | tag: tip |
|
410 | tag: tip | |
@@ -434,7 +434,7 b' Switch to original repo and setup defaul' | |||||
434 | Test incoming: |
|
434 | Test incoming: | |
435 |
|
435 | |||
436 | $ hg incoming -S |
|
436 | $ hg incoming -S | |
437 | comparing with $TESTTMP/repo2 |
|
437 | comparing with $TESTTMP/repo2 (glob) | |
438 | searching for changes |
|
438 | searching for changes | |
439 | changeset: 3:2655b8ecc4ee |
|
439 | changeset: 3:2655b8ecc4ee | |
440 | tag: tip |
|
440 | tag: tip |
@@ -949,8 +949,8 b' Adding without a path or pattern with -S' | |||||
949 | ? s/f9 |
|
949 | ? s/f9 | |
950 | $ hg add -S |
|
950 | $ hg add -S | |
951 | adding f8 |
|
951 | adding f8 | |
952 | adding s/f10 |
|
952 | adding s/f10 (glob) | |
953 | adding s/f9 |
|
953 | adding s/f9 (glob) | |
954 | $ hg st -S |
|
954 | $ hg st -S | |
955 | A f8 |
|
955 | A f8 | |
956 | A s/f10 |
|
956 | A s/f10 | |
@@ -993,7 +993,7 b' Adding with a pattern with -S also adds ' | |||||
993 | ? s/fn18 |
|
993 | ? s/fn18 | |
994 | $ hg add -S 'glob:**fm*' |
|
994 | $ hg add -S 'glob:**fm*' | |
995 | adding fm15 |
|
995 | adding fm15 | |
996 | adding s/fm17 |
|
996 | adding s/fm17 (glob) | |
997 | $ hg st -S |
|
997 | $ hg st -S | |
998 | A fm15 |
|
998 | A fm15 | |
999 | A s/fm17 |
|
999 | A s/fm17 |
@@ -1,3 +1,5 b'' | |||||
|
1 | $ "$TESTDIR/hghave" system-sh || exit 80 | |||
|
2 | ||||
1 | $ hg init test |
|
3 | $ hg init test | |
2 | $ cd test |
|
4 | $ cd test | |
3 |
|
5 |
@@ -274,7 +274,7 b' Test patterns:' | |||||
274 | f mammals/skunk mammals/skunk |
|
274 | f mammals/skunk mammals/skunk | |
275 | $ hg debugwalk 'glob:j*' |
|
275 | $ hg debugwalk 'glob:j*' | |
276 | $ hg debugwalk NOEXIST |
|
276 | $ hg debugwalk NOEXIST | |
277 | NOEXIST: No such file or directory |
|
277 | NOEXIST: * (glob) | |
278 |
|
278 | |||
279 | $ mkfifo fifo |
|
279 | $ mkfifo fifo | |
280 | $ hg debugwalk fifo |
|
280 | $ hg debugwalk fifo |
@@ -112,7 +112,7 b' and now for something completely differe' | |||||
112 | abort: pretxncommit.crlf hook failed |
|
112 | abort: pretxncommit.crlf hook failed | |
113 | [255] |
|
113 | [255] | |
114 | $ hg revert -a |
|
114 | $ hg revert -a | |
115 | forgetting d/f2 |
|
115 | forgetting d/f2 (glob) | |
116 | $ rm d/f2 |
|
116 | $ rm d/f2 | |
117 |
|
117 | |||
118 | $ hg rem f |
|
118 | $ hg rem f | |
@@ -177,10 +177,10 b' and now for something completely differe' | |||||
177 |
|
177 | |||
178 | $ for x in a b c d; do echo content > dupe/$x; done |
|
178 | $ for x in a b c d; do echo content > dupe/$x; done | |
179 | $ hg -R dupe add |
|
179 | $ hg -R dupe add | |
180 | adding dupe/a |
|
180 | adding dupe/a (glob) | |
181 | adding dupe/b |
|
181 | adding dupe/b (glob) | |
182 | adding dupe/c |
|
182 | adding dupe/c (glob) | |
183 | adding dupe/d |
|
183 | adding dupe/d (glob) | |
184 | $ python unix2dos.py dupe/b dupe/c dupe/d |
|
184 | $ python unix2dos.py dupe/b dupe/c dupe/d | |
185 | $ hg -R dupe ci -m a dupe/a |
|
185 | $ hg -R dupe ci -m a dupe/a | |
186 | $ hg -R dupe ci -m b/c dupe/[bc] |
|
186 | $ hg -R dupe ci -m b/c dupe/[bc] |
General Comments 0
You need to be logged in to leave comments.
Login now