##// END OF EJS Templates
document and fix findincoming...
document and fix findincoming - add documentation about what the function does, notably the fact that it updates 'base' - transform the workflow to a more simple 'if elif elif else' - do not call remote.branches if not necessary - some nodes where missing in 'base' (from what I understand, if the root of a branch is missing but one parent is present, the parent should be in 'base') - add a testcase for an incorrect outgoing that is fixed by this cset - add a testcase for an empty group bug, it needs fixing

File last commit:

r2009:182f5008 default
r2339:11422943 default
Show More
test-hgignore
45 lines | 770 B | text/plain | TextLexer
Benoit Boissinot
add a test for hgignore
r1478 #!/bin/sh
hg init
touch a.o
touch a.c
touch syntax
mkdir dir
touch dir/a.o
touch dir/b.o
touch dir/c.o
hg add dir/a.o
hg commit -m 0
hg add dir/b.o
echo "--" ; hg status
echo "*.o" > .hgignore
Thomas Arendsen Hein
Fix broken hgignore tests due to full path showing up in output.
r2009 echo "--" ; hg status 2>&1 | sed -e 's/abort: .*\.hgignore:/abort: .hgignore:/'
Benoit Boissinot
add a test for hgignore
r1478
echo ".*\.o" > .hgignore
echo "--" ; hg status
# XXX: broken
#echo "glob:**.o" > .hgignore
#echo "--" ; hg status
#
#echo "glob:*.o" > .hgignore
#echo "--" ; hg status
echo "syntax: invalid" > .hgignore
Thomas Arendsen Hein
Fix broken hgignore tests due to full path showing up in output.
r2009 echo "--" ; hg status 2>&1 | sed -e 's/.*\.hgignore:/.hgignore:/'
Benoit Boissinot
add a test for hgignore
r1478
echo "syntax: glob" > .hgignore
echo "*.o" >> .hgignore
echo "--" ; hg status
echo "relglob:syntax*" > .hgignore
echo "--" ; hg status
echo "relglob:*" > .hgignore
echo "--" ; hg status
Benoit Boissinot
fix a bug in dirstate.changes when cwd != repo.root...
r1491
cd dir
Benoit Boissinot
make all commands be repo-wide by default...
r1568 echo "--" ; hg status .