Commits

Augie Fackler  committed f57dfbf

Fix all-version-tests.

  • Participants
  • Parent commits 0b7a273

Comments (0)

Files changed (3)

File 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):

File 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

File tests/test-git-workflow.out

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