/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_branch.py

  • Committer: John Carr
  • Date: 2009-01-13 20:26:54 UTC
  • mto: (0.217.53 git-serve)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: john.carr@unrouted.co.uk-20090113202654-9hsels0a9r35o7u0
Rename upload-pack and receive-pack so they don't clash with the Git versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    tests,
25
25
    )
26
26
from bzrlib.plugins.git.mapping import default_mapping
 
27
from bzrlib.plugins.git import git
27
28
 
28
 
import dulwich as git
29
29
 
30
30
 
31
31
class TestGitBranch(tests.TestCaseInTempDir):
78
78
        
79
79
        tests.run_git('tag', '-a', '-m', 'add tag', 'foo')
80
80
        
 
81
        newid = open('.git/refs/tags/foo').read().rstrip()
 
82
 
81
83
        thebranch = Branch.open('.')
82
 
        self.assertEquals({"foo": default_mapping.revision_id_foreign_to_bzr(reva)},
 
84
        self.assertEquals({"foo": default_mapping.revision_id_foreign_to_bzr(newid)},
83
85
                          thebranch.tags.get_tag_dict())
84
86
        
85
87