# HG changeset patch # User Siddharth Agarwal # Date 1414613535 25200 # Node ID 6cdeafb8ca46adc2ff7481b81ac030f0f95bdb28 # Parent 345919960ea42205a08e12c6a4dccf1ccae31157 git_handler.get_chanaged_refs: use exportable for no-ref check The comment was actually incorrect -- we only used to care about bookmarks. Now we also care about tags. diff -r 345919960ea4 -r 6cdeafb8ca46 hggit/git_handler.py --- a/hggit/git_handler.py Wed Oct 29 12:30:23 2014 -0700 +++ b/hggit/git_handler.py Wed Oct 29 13:12:15 2014 -0700 @@ -960,7 +960,7 @@ #The remote repo is empty and the local one doesn't have bookmarks/tags if refs.keys()[0] == 'capabilities^{}': - if not all_heads: + if not exportable: tip = self.repo.lookup('tip') if tip != nullid: del new_refs['capabilities^{}']