##// END OF EJS Templates
change relglob: patterns to be consistent with glob: patterns...
change relglob: patterns to be consistent with glob: patterns With this change, you have to use "hg locate 'hgweb/**'" to locate all the files in directories named hgweb. OTOH, "hg locate '*l'" will locate only files that end with "l" - e.g. a file called "hg.py" will not be matched just because it's in a directory whose name ends with "l" (e.g. "mercurial").

File last commit:

r4307:702f4857 default
r4307:702f4857 default
Show More
test-walk.out
284 lines | 8.6 KiB | text/plain | TextLexer
Bryan O'Sullivan
Add unit tests for walk code.
r889 adding beans/black
adding beans/borlotti
adding beans/kidney
adding beans/navy
adding beans/pinto
adding beans/turtle
bos@serpentine.internal.keyresearch.com
Fix up failing tests.
r1184 adding fennel
adding fenugreek
adding fiddlehead
adding glob:glob
Bryan O'Sullivan
Add unit tests for walk code.
r889 adding mammals/Procyonidae/cacomistle
adding mammals/Procyonidae/coatimundi
adding mammals/Procyonidae/raccoon
bos@serpentine.internal.keyresearch.com
Fix up failing tests.
r1184 adding mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191 hg debugwalk
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black beans/black
f beans/borlotti beans/borlotti
f beans/kidney beans/kidney
f beans/navy beans/navy
f beans/pinto beans/pinto
f beans/turtle beans/turtle
f fennel fennel
f fenugreek fenugreek
f fiddlehead fiddlehead
f glob:glob glob:glob
f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk -I.
Alexis S. L. Carvalho
util.*matcher: change default "names" argument...
r4190 f beans/black beans/black
f beans/borlotti beans/borlotti
f beans/kidney beans/kidney
f beans/navy beans/navy
f beans/pinto beans/pinto
f beans/turtle beans/turtle
f fennel fennel
f fenugreek fenugreek
f fiddlehead fiddlehead
f glob:glob glob:glob
f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
cd mammals
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192 hg debugwalk
f beans/black ../beans/black
f beans/borlotti ../beans/borlotti
f beans/kidney ../beans/kidney
f beans/navy ../beans/navy
f beans/pinto ../beans/pinto
f beans/turtle ../beans/turtle
f fennel ../fennel
f fenugreek ../fenugreek
f fiddlehead ../fiddlehead
f glob:glob ../glob:glob
f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
f mammals/skunk skunk
hg debugwalk -X ../beans
f fennel ../fennel
f fenugreek ../fenugreek
f fiddlehead ../fiddlehead
f glob:glob ../glob:glob
f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
f mammals/skunk skunk
hg debugwalk -I *k
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f mammals/skunk skunk
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192
hg debugwalk -I glob:*k
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f mammals/skunk skunk
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192
hg debugwalk -I relglob:*k
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f beans/black ../beans/black
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192 f fenugreek ../fenugreek
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f mammals/skunk skunk
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192
hg debugwalk -I relglob:*k .
f mammals/skunk skunk
hg debugwalk -I re:.*k$
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f beans/black ../beans/black
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192 f fenugreek ../fenugreek
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f mammals/skunk skunk
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192
hg debugwalk -I relre:.*k$
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f beans/black ../beans/black
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192 f fenugreek ../fenugreek
Alexis S. L. Carvalho
dirstate.statwalk: explicitly test for ignored directories...
r4193 f mammals/skunk skunk
Alexis S. L. Carvalho
util._matcher: unify pattern normalization...
r4192
hg debugwalk -I path:beans
f beans/black ../beans/black
f beans/borlotti ../beans/borlotti
f beans/kidney ../beans/kidney
f beans/navy ../beans/navy
f beans/pinto ../beans/pinto
f beans/turtle ../beans/turtle
hg debugwalk -I relpath:../beans
f beans/black ../beans/black
f beans/borlotti ../beans/borlotti
f beans/kidney ../beans/kidney
f beans/navy ../beans/navy
f beans/pinto ../beans/pinto
f beans/turtle ../beans/turtle
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191 hg debugwalk .
Alexis S. L. Carvalho
util.*matcher: change default "names" argument...
r4190 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
f mammals/skunk skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk -I.
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
f mammals/skunk skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk Procyonidae
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
cd Procyonidae
hg debugwalk .
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle cacomistle
f mammals/Procyonidae/coatimundi coatimundi
f mammals/Procyonidae/raccoon raccoon
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk ..
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle cacomistle
f mammals/Procyonidae/coatimundi coatimundi
f mammals/Procyonidae/raccoon raccoon
f mammals/skunk ../skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
cd ..
hg debugwalk ../beans
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black ../beans/black
f beans/borlotti ../beans/borlotti
f beans/kidney ../beans/kidney
f beans/navy ../beans/navy
f beans/pinto ../beans/pinto
f beans/turtle ../beans/turtle
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk .
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi Procyonidae/coatimundi
f mammals/Procyonidae/raccoon Procyonidae/raccoon
f mammals/skunk skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk .hg
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 .hg: No such file or directory
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk ../.hg
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
cd ..
hg debugwalk -Ibeans
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black beans/black
f beans/borlotti beans/borlotti
f beans/kidney beans/kidney
f beans/navy beans/navy
f beans/pinto beans/pinto
f beans/turtle beans/turtle
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk glob:mammals/../beans/b*
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black beans/black
f beans/borlotti beans/borlotti
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk -X*/Procyonidae mammals
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk path:mammals
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk ..
mpm@selenic.com
Update util.py docstrings, fix walk test
r1082 abort: .. not under root
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk beans/../..
mpm@selenic.com
Update util.py docstrings, fix walk test
r1082 abort: beans/../.. not under root
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk .hg
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk beans/../.hg
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk beans/../.hg/data
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 abort: path contains illegal component: .hg/data
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk beans/.hg
Thomas Arendsen Hein
Enable path validation for copy, rename, debugwalk and other canonpath users....
r1976 beans/.hg: No such file or directory
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk glob:*
Alexis S. L. Carvalho
Revert changeset ef1f1a4b2efb; add another test for glob: patterns...
r4306 f fennel fennel
f fenugreek fenugreek
f fiddlehead fiddlehead
f glob:glob glob:glob
hg debugwalk glob:**e
Alexis S. L. Carvalho
glob:<directory> patterns match the files in that directory....
r4255 f beans/turtle beans/turtle
f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk re:.*[kb]$
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black beans/black
f fenugreek fenugreek
f glob:glob glob:glob
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk path:beans/black
Alexis S. L. Carvalho
util._matcher: fix handling of path: patterns
r4189 f beans/black beans/black exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk path:beans//black
Alexis S. L. Carvalho
util._matcher: fix handling of path: patterns
r4189 f beans/black beans/black exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk relglob:Procyonidae
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307
hg debugwalk relglob:Procyonidae/**
Alexis S. L. Carvalho
util._matcher: fix handling of relglob: patterns
r4188 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
Alexis S. L. Carvalho
change relglob: patterns to be consistent with glob: patterns...
r4307 hg debugwalk relglob:Procyonidae/** fennel
Alexis S. L. Carvalho
util._matcher: fix handling of relglob: patterns
r4188 f fennel fennel exact
f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk beans glob:beans/*
Thomas Arendsen Hein
Make debugwalk strip trailing spaces and remove these from test-walk.out
r1309 f beans/black beans/black
f beans/borlotti beans/borlotti
f beans/kidney beans/kidney
f beans/navy beans/navy
f beans/pinto beans/pinto
f beans/turtle beans/turtle
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk glob:mamm**
Alexis S. L. Carvalho
A 'glob:foo?bar' pattern determines a root - the tree root
r4187 f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk glob:mamm** fennel
Alexis S. L. Carvalho
A 'glob:foo?bar' pattern determines a root - the tree root
r4187 f fennel fennel exact
f mammals/Procyonidae/cacomistle mammals/Procyonidae/cacomistle
f mammals/Procyonidae/coatimundi mammals/Procyonidae/coatimundi
f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
f mammals/skunk mammals/skunk
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk glob:j*
hg debugwalk NOEXIST
Bryan O'Sullivan
Add unit tests for walk code.
r889 NOEXIST: No such file or directory
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk fifo
Bryan O'Sullivan
Add unit tests for walk code.
r889 fifo: unsupported file type (type is fifo)
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk fenugreek
Bryan O'Sullivan
Modify commands.walk to yield a 4-tuple....
r942 m fenugreek fenugreek exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk fenugreek
Bryan O'Sullivan
Modify commands.walk to yield a 4-tuple....
r942 m fenugreek fenugreek exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk new
Bryan O'Sullivan
Modify commands.walk to yield a 4-tuple....
r942 f new new exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191