tests/test-revert-flags
author Daniel J. Lauk <daniel.lauk@gmail.com>
Wed, 11 Aug 2010 11:46:06 +0200
branchstable
changeset 11778 7e5f5e5858f9
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
convert: Using --dest-type svn crashed, if the source repo used tags. The convert extension requires puttags(self, tags) to return a sequence for a multi-variable assignment. If puttags implicitly returns None, the code will break when trying to un-pack None for assignment.

#!/bin/sh

"$TESTDIR/hghave" execbit || exit 80

hg init repo
cd repo
echo foo > foo
chmod 644 foo
hg ci -qAm '644'

chmod 755 foo
hg ci -qAm '755'

echo '% reverting to rev 0'
hg revert -a -r 0
hg st
hg diff --git