Rev 1735: Fix more tests. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Mon Nov 3 03:43:56 GMT 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1735
revision-id: jelmer at samba.org-20081103034353-5ez9e3g8dzullsj9
parent: jelmer at samba.org-20081103031851-rl7k1fq4zt7tl4p6
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Mon 2008-11-03 04:43:53 +0100
message:
Fix more tests.
modified:
tests/test_commit.py test_commit.py-20060624213521-l5kcufywkh9mnilk-1
=== modified file 'tests/test_commit.py'
--- a/tests/test_commit.py 2008-08-23 15:38:17 +0000
+++ b/tests/test_commit.py 2008-11-03 03:43:53 +0000
@@ -571,6 +571,7 @@
wt = local_dir.open_workingtree()
local_dir.open_branch().bind(master_branch)
self.build_tree({'b/file': 'data'})
+ wt.branch.nick = "somenick"
wt.add('file')
revid = wt.commit(message="Commit from Bzr")
master_branch = Branch.open(repos_url)
@@ -584,6 +585,7 @@
wt = local_dir.open_workingtree()
local_dir.open_branch().bind(master_branch)
self.build_tree({'b/file': 'data'})
+ wt.branch.nick = "some-nick"
wt.add('file')
oldid = wt.path2id("file")
revid1 = wt.commit(message="Commit from Bzr")
@@ -609,6 +611,7 @@
local_dir = master_branch.bzrdir.sprout("b")
wt = local_dir.open_workingtree()
local_dir.open_branch().bind(master_branch)
+ wt.branch.nick = "some-nick"
self.build_tree({'b/dir/file': 'data'})
wt.add('dir')
wt.add('dir/file')
More information about the bazaar-commits
mailing list