Changeset - 6ce04fd9efd4
[Not reviewed]
default
0 1 0
Mads Kiilerich - 7 years ago 2018-08-08 02:21:31
mads@kiilerich.com
hg: fix 4.7 compatibility in checkout_branch

Test coverage by workdir tests.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/vcs/backends/hg/workdir.py
Show inline comments
 
@@ -19,4 +19,5 @@ class MercurialWorkdir(BaseWorkdir):
 
        if branch not in self.repository.branches:
 
            raise BranchDoesNotExistError
 

	
 
        hg_merge.update(self.repository._repo, branch, False, False, None)
 
        raw_id = self.repository.branches[branch]
 
        hg_merge.update(self.repository._repo, raw_id, False, False, None)
0 comments (0 inline, 0 general)