##// END OF EJS Templates
bundles: do not overwrite existing backup bundles (BC)...
bundles: do not overwrite existing backup bundles (BC) Previously, a backup bundle could overwrite an existing bundle and cause user data loss. For instance, if you have A<-B<-C and strip B, it produces backup bundle B-backup.hg. If you then hg pull -r B B-backup.hg and strip it again, it overwrites the existing B-backup.hg and C is lost. The fix is to add a hash of all the nodes inside that bundle to the filename. Fixed up existing tests and added a new test in test-strip.t

File last commit:

r20117:aa9385f9 default
r23835:aa4a1672 default
Show More
bzr-definitions
18 lines | 361 B | text/plain | TextLexer
Marek Kubica
convert: add bzr source
r7053 # this file holds the definitions that are used in various bzr tests
"$TESTDIR/hghave" bzr || exit 80
Brodie Rao
tests: remove more instances of export FOO=bar bashism
r9042 TERM=dumb; export TERM
Marek Kubica
convert: add bzr source
r7053 echo '[extensions]' >> $HGRCPATH
echo 'convert = ' >> $HGRCPATH
glog()
{
Martin Geisler
tests: don't load unnecessary graphlog extension...
r20117 hg log -G --template '{rev}@{branch} "{desc|firstline}" files: {files}\n' "$@"
Marek Kubica
convert: add bzr source
r7053 }
manifest()
{
echo "% manifest of $2"
hg -R $1 manifest -v -r $2
}