[Pkg-bazaar-commits] ./bzr/unstable r234: - check that commits to hardlinked trees work properly

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:51:30 UTC 2009


------------------------------------------------------------
revno: 234
committer: mbp at sourcefrog.net
timestamp: Mon 2005-04-11 12:03:44 +1000
message:
  - check that commits to hardlinked trees work properly
modified:
  test.sh
-------------- next part --------------
=== modified file 'test.sh'
--- a/test.sh	2005-04-11 01:58:58 +0000
+++ b/test.sh	2005-04-11 02:03:44 +0000
@@ -107,5 +107,22 @@
 
 
 # now test hardlinked branches in subdirectories
+cd ..
+[ -d branch2 ] && rm -rf branch2
+cp -al branch1 branch2
+
+cd branch2
+bzr log 
+[ `bzr revno` = 2 ]
+
+echo "added in branch2" > new-in-2.txt
+bzr add new-in-2.txt
+bzr commit -m "add file to branch 2 only"
+
+[ `bzr revno` = 3 ]
+
+cd ../branch1
+[ `bzr revno` = 2 ]
+
 
 echo "tests completed ok" >&3
\ No newline at end of file



More information about the Pkg-bazaar-commits mailing list