* get rid of add
-* Should branch_delete really obsolese branched or just mark them dead?
+* Should branch_delete really obsolesce branched or just mark them dead?
BUGS
# FIXME: Sanitize branch names.
# FIXME: Make this canonical even with tags
branch = arg + "master"
- for item in metadata:
+ for i in range(ctx.start, ctx.end+1):
+ item = metadata.by_revno(i)
scratchfile = "/tmp/src%dtmp" % os.getpid()
backend.cat(arg, item.revision, scratchfile)
size = os.path.getsize(scratchfile)
check "tag list check after deletion"
# Alas, we have to do this or the fast-export regression will fail.
-# We don't know how to be perfectly canonical about tags let.
+# We don't know how to be perfectly canonical about tags yet.
src $TESTOPTS tag delete basetag
check "tag deletion: basetag"
check "fast-export"
rm -fr $SANDBOX/foo
+# There was a point at which fast-export was broken,
+# but the test was passing because an empty file
+# produced a repo that git dumped as an emoty file!
+grep jrh testfile15 >/dev/null
+check "fast-export content check"
+
src $TESTOPTS rename testfile1 newname1
check "move command"
if [ -e newname1 -a -e $SANDBOX/newname1,v ]