durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The implementation here is so simple I honestly have no idea why I
  didn't do it at the time. Hopefully there's not some nuance past-me
  forgot to write down.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8993

AFFECTED FILES
  hgext/git/manifest.py

CHANGE DETAILS

diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py
--- a/hgext/git/manifest.py
+++ b/hgext/git/manifest.py
@@ -1,6 +1,7 @@
 from __future__ import absolute_import
 
 from mercurial import (
+    error,
     match as matchmod,
     pathutil,
     pycompat,
@@ -217,7 +218,7 @@
             return b''
 
     def copy(self):
-        pass
+        return gittreemanifest(self._git_repo, self._tree, 
dict(self._pending_changes))
 
     def items(self):
         for f in self:



To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to