##// END OF EJS Templates
obsolete: closest divergent support...
obsolete: closest divergent support Add a closest argument to successorssets changing the definition of latest successors. With "closest=false" (current behavior), latest successors are "leafs" on the obsmarker graph. They don't have any successor and are known locally. With "closest=true", latest successors are the closest locally-known changesets that are visible in the repository or repoview. Closest successors can be then obsolete, orphan. This will be used in a later patch to show the closest successor of changesets with the successorssets template.

File last commit:

r33199:ddd65b4f default
r33274:68f3e819 default
Show More
test-check-commit.t
22 lines | 647 B | text/troff | Tads3Lexer
/ tests / test-check-commit.t
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 #require test-repo
Enable obsolescence to avoid the warning issue when obsmarker are found
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368
Go back in the hg repo
$ cd $TESTDIR/..
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ for node in `testrepohg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do
> testrepohg export --git $node \
> | contrib/check-commit > ${TESTTMP}/check-commit.out
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > if [ $? -ne 0 ]; then
timeless
tests: minor grammar change for check-commit
r28293 > echo "Revision $node does not comply with rules"
Pierre-Yves David
tests: move the '-hg' postfix for all style tests...
r27368 > echo '------------------------------------------------------'
> cat ${TESTTMP}/check-commit.out
> echo
> fi
> done