356
355
branch = Branch.initialize('branch1')
357
356
branch.working_tree().add(['file'])
358
357
branch.working_tree().commit('add file')
360
359
print >> open('branch2/file', 'wb'), 'new content'
361
360
branch2 = Branch.open('branch2')
362
361
branch2.working_tree().commit('update file')