##// END OF EJS Templates
convert/bzr: make it work with filemaps (issue1631)...
convert/bzr: make it work with filemaps (issue1631) The bzr converter maintains a child -> parents mapping and drop entries whenever a child is read. It does not work with filemaps, getchangedfiles() may be called more than once when filtered files belong to merge revisions. getchanges() still works that way but it is not clear whether a similar issue can arise when interacting with merges.

File last commit:

r7820:346fafc1 default
r8165:78658990 default
Show More
test-walk.out
303 lines | 9.0 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
Matt Mackall
audit: be even pickier (issue1450)
r7820 abort: path 'mammals/.hg' is inside repo 'mammals'
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
Jesse Glick
Permit glob patterns to use nested curly braces.
r5949 hg debugwalk -I {*,{b,m}*/*}k
f beans/black beans/black
f fenugreek fenugreek
f mammals/skunk mammals/skunk
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
Matt Mackall
audit: be even pickier (issue1450)
r7820 abort: path 'beans/.hg' is inside repo 'beans'
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
Matt Mackall
walk: return a single value
r6586 f fenugreek fenugreek exact
Alexis S. L. Carvalho
make the output of test-walk more readable
r4191
hg debugwalk fenugreek
Matt Mackall
walk: return a single value
r6586 f 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
Alexis S. L. Carvalho
dirstate: don't walk ignored directories...
r6032 hg debugwalk ignored
hg debugwalk ignored/file
f ignored/file ignored/file exact
Alexis S. L. Carvalho
Merge with crew-stable
r4232 cd ..
hg debugwalk -R t t/mammals/skunk
Alexis S. L. Carvalho
Fix handling of paths when run outside the repo....
r4230 f mammals/skunk t/mammals/skunk exact
Alexis S. L. Carvalho
Merge with crew-stable
r4232
cd t2
hg debugwalk -R ../t ../t/mammals/skunk
Alexis S. L. Carvalho
Fix handling of paths when run outside the repo....
r4230 f mammals/skunk ../t/mammals/skunk exact
Alexis S. L. Carvalho
Merge with crew-stable
r4232
hg debugwalk --cwd ../t mammals/skunk
Alexis S. L. Carvalho
Fix handling of paths when run outside the repo....
r4230 f mammals/skunk mammals/skunk exact
Alexis S. L. Carvalho
Merge with crew-stable
r4232