Mercurial > hg
view tests/test-mq-qdelete.out @ 5200:c7e8fe11f34a
path_auditor: cache names of audited directories
We use a separate cache to avoid problems with
audit = path_auditor(repo.root)
audit("subrepo")
audit("subrepo/file")
whitelisting "subrepo" (which is fine) and then using the same whitelist
with "subrepo/file" (which is not fine).
Since we create a separate path_auditor for every path on the command line,
a "hg add dir/a dir/b dir/c" will still lstat dir 3 times just to audit
the paths.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 18 Aug 2007 21:36:10 -0300 |
parents | 2ececafa5859 |
children | 37eedb1a1848 |
line wrap: on
line source
adding base abort: qdelete requires at least one revision or patch name abort: cannot delete applied patch c Now at: b a b a b series status Now at: a a b series status 1 [mq]: a 0 base abort: cannot delete revision 3 above applied patches f 4 [mq]: f 3 [mq]: e 2 [mq]: d 1 [mq]: a 0 base