~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to test.sh

  • Committer: mbp at sourcefrog
  • Date: 2005-04-11 02:03:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050411020344-d7a52392fedc450b1438edb8
- check that commits to hardlinked trees work properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
 
109
109
# now test hardlinked branches in subdirectories
 
110
cd ..
 
111
[ -d branch2 ] && rm -rf branch2
 
112
cp -al branch1 branch2
 
113
 
 
114
cd branch2
 
115
bzr log 
 
116
[ `bzr revno` = 2 ]
 
117
 
 
118
echo "added in branch2" > new-in-2.txt
 
119
bzr add new-in-2.txt
 
120
bzr commit -m "add file to branch 2 only"
 
121
 
 
122
[ `bzr revno` = 3 ]
 
123
 
 
124
cd ../branch1
 
125
[ `bzr revno` = 2 ]
 
126
 
110
127
 
111
128
echo "tests completed ok" >&3
 
 
b'\\ No newline at end of file'