Commits

Augie Fackler committed f57dfbf

Fix all-version-tests.

Comments (0)

Files changed (3)

hggit/git_handler.py

 
     def import_commits(self, remote_name):
         self.import_git_objects(remote_name)
+        self.update_hg_bookmarks(self.git.get_refs())
         self.save_map()
 
     def fetch(self, remote, heads):

tests/test-git-workflow

 echo % get things back to hg
 hg gimport
 hg log --graph --debug | grep -v ': *master'
+echo % gimport should have updated the bookmarks as well
 hg bookmarks

tests/test-git-workflow.out

    add alpha
 
 
+% gimport should have updated the bookmarks as well
    master                    1:7108ae7bd184