##// END OF EJS Templates
transaction: issue "new obsmarkers" message at the end of the transaction...
transaction: issue "new obsmarkers" message at the end of the transaction Instead of making bundle2 code responsible for this, it seems better to have it handled and the transaction level. First, it means the message will be more consistently printed. Second it means we won't spam the message over and over if the data arrive in multiple piece. Third, we are planning to move other similar message at the same level (for the same reason) so having them all at the same location will help us to control the order they are displayed.

File last commit:

r41717:15f63ac1 default
r43164:38392d5b default
Show More
test-locate.t
191 lines | 2.3 KiB | text/troff | Tads3Lexer
Mads Kiilerich
tests: cleanup of tests that got lost in their own nested directories...
r16912 $ hg init repo
$ cd repo
Adrian Buehlmann
tests: unify test-locate
r12206 $ echo 0 > a
$ echo 0 > b
$ echo 0 > t.h
$ mkdir t
$ echo 0 > t/x
$ echo 0 > t/b
$ echo 0 > t/e.h
$ mkdir dir.h
$ echo 0 > dir.h/foo
$ hg ci -A -m m
adding a
adding b
adding dir.h/foo
adding t.h
adding t/b
adding t/e.h
adding t/x
$ touch nottracked
Matt Mackall
tests: cleanup exit code handling in unified tests
r12365 $ hg locate a
Adrian Buehlmann
tests: unify test-locate
r12206 a
Matt Mackall
tests: cleanup exit code handling in unified tests
r12365 $ hg locate NONEXISTENT
[1]
Adrian Buehlmann
tests: unify test-locate
r12206
$ hg locate
a
b
dir.h/foo
t.h
t/b
t/e.h
t/x
$ hg rm a
$ hg ci -m m
$ hg locate a
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate NONEXISTENT
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate relpath:NONEXISTENT
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate
b
dir.h/foo
t.h
t/b
t/e.h
t/x
$ hg locate -r 0 a
a
$ hg locate -r 0 NONEXISTENT
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0 relpath:NONEXISTENT
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0
a
b
dir.h/foo
t.h
t/b
t/e.h
t/x
-I/-X with relative path should work:
$ cd t
$ hg locate
b
dir.h/foo
t.h
t/b
t/e.h
t/x
$ hg locate -I ../t
t/b
t/e.h
t/x
Martin Geisler
tests: added a short description to issue numbers...
r12399 Issue294: hg remove --after dir fails when dir.* also exists
Adrian Buehlmann
tests: unify test-locate
r12206
$ cd ..
$ rm -r t
Siddharth Agarwal
files: actually filter out removed files...
r22591 $ hg rm t/b
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate 't/**'
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 t/b
t/e.h
t/x
Adrian Buehlmann
tests: unify test-locate
r12206
Matt Mackall
files: add new command unifying locate and manifest functionality
r22423 $ hg files
b
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 dir.h/foo
Matt Mackall
files: add new command unifying locate and manifest functionality
r22423 t.h
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 t/e.h
t/x
Matt Mackall
files: add new command unifying locate and manifest functionality
r22423 $ hg files b
b
Yuya Nishihara
match: do not weirdly include explicit files excluded by -X option...
r35677 -X with explicit path:
$ hg files b -X b
[1]
Adrian Buehlmann
tests: unify test-locate
r12206 $ mkdir otherdir
$ cd otherdir
Matt Harbison
match: let 'path:.' and 'path:' match everything (issue4687)...
r25636 $ hg files path:
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../b
../dir.h/foo
../t.h
../t/e.h
../t/x
Matt Harbison
match: let 'path:.' and 'path:' match everything (issue4687)...
r25636 $ hg files path:.
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../b
../dir.h/foo
../t.h
../t/e.h
../t/x
Martin von Zweigbergk
files: respect ui.relative-paths...
r41717 $ hg files --config ui.relative-paths=yes
../b
../dir.h/foo
../t.h
../t/e.h
../t/x
$ hg files --config ui.relative-paths=no
b
dir.h/foo
t.h
t/e.h
t/x
$ hg files --config ui.relative-paths=legacy
../b
../dir.h/foo
../t.h
../t/e.h
../t/x
Matt Harbison
match: let 'path:.' and 'path:' match everything (issue4687)...
r25636
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate b
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../b
../t/b
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate '*.h'
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t.h
../t/e.h
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate path:t/x
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t/x
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate 're:.*\.h$'
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t.h
../t/e.h
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0 b
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../b
../t/b
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0 '*.h'
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t.h
../t/e.h
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0 path:t/x
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t/x
Adrian Buehlmann
tests: unify test-locate
r12206 $ hg locate -r 0 're:.*\.h$'
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../t.h
../t/e.h
Adrian Buehlmann
tests: unify test-locate
r12206
Matt Mackall
formatter: add pickle format...
r22430 $ hg files
Matt Harbison
tests: remove (glob) annotations that were only for '\' matches...
r35394 ../b
../dir.h/foo
../t.h
../t/e.h
../t/x
Matt Mackall
formatter: add pickle format...
r22430 $ hg files .
[1]
Yuya Nishihara
match: fix assertion for fileset with no context (issue6046)...
r41144 Fileset at null (i.e. a falsy context) shouldn't crash (issue6046)
$ hg files -r null 'set:tracked()'
[1]
Yuya Nishihara
templatefilters: add slashpath() to convert path separator to slash...
r35460 Convert native path separator to slash (issue5572)
Yuya Nishihara
formatter: rename {abspath}/{file} to {path}, and drop relative {path} (BC)...
r39405 $ hg files -T '{path|relpath|slashpath}\n'
Yuya Nishihara
templatefilters: add slashpath() to convert path separator to slash...
r35460 ../b
../dir.h/foo
../t.h
../t/e.h
../t/x
Mads Kiilerich
tests: cleanup of tests that got lost in their own nested directories...
r16912 $ cd ../..