##// END OF EJS Templates
hgweb: all protocol functions have become generators...
hgweb: all protocol functions have become generators Using the write() callable supplied by the start_response() call is frowned upon by the WSGI spec, returning an iterable over the content chunks is the recommended way. Be aware, though: returning many small chunks will slow down responses, because the server has to flush each chunk separately.

File last commit:

r2982:890e285c default
r6784:18c429ea default
Show More
test-revert-unknown
20 lines | 274 B | text/plain | TextLexer
/ tests / test-revert-unknown
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 #!/bin/sh
hg init
touch unknown
touch a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "1" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
touch b
hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg ci -m "2" -d "1000000 0"
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236
echo %% Should show unknown
hg status
Vadim Gelfer
revert: require --all to revert all files.
r2982 hg revert -r 0 --all
mpm@selenic.com
Fix bug with co -C across branches, update tests
r1236 echo %% Should show unknown and b removed
hg status
echo %% Should show a and unknown
ls