Commits

Augie Fackler  committed 4ae70ea

hgit: make the testsuite at least not dump any tracebacks

Tests are still pretty heavily broken.

  • Participants
  • Parent commits 1147976

Comments (0)

Files changed (2)

File hgit/bookwrap.py

             self.repo.gitrepo.refs['refs/heads/' + key] = node.hex(value)
             dict.__setitem__(self, key, value)
 
+    def write(self):
+        # TODO: stage ref writes in __setitem__ and commit them here.
+        pass
+
 def reposetup(ui, repo):
     if isinstance(repo, gitrepo.localgitrepo):
         class gitbookmarkrepo(repo.__class__):

File hgit/gitrepo.py

             names = (names,)
         else:
             allchars = ''.join(names)
-        for c in self.tag_disallowed:
+        for c in ':\0\r\n':
             if c in allchars:
                 raise hgutil.Abort(_('%r cannot be used in a tag name') % c)