summaryrefslogtreecommitdiff
path: root/devel/hg-git/files/patch-hggit__git_handler.py
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-14 12:10:40 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-14 12:10:40 +0000
commit1ce9fcd0545790f30a28cdad96a1ba3e920e1fc4 (patch)
tree971cc0e88149820a07bb464e2830fb4d3d33899f /devel/hg-git/files/patch-hggit__git_handler.py
parentUpdate to 2.9.4. (diff)
devel/hg-git: allow staging
- Allow staging - Use python auto plist - Patch for dulwich API change PR: ports/182747 Submitted by: Marco Bröder <marco.broeder gmx.eu> (maintainer)
Notes
Notes: svn path=/head/; revision=330310
Diffstat (limited to 'devel/hg-git/files/patch-hggit__git_handler.py')
-rw-r--r--devel/hg-git/files/patch-hggit__git_handler.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/hg-git/files/patch-hggit__git_handler.py b/devel/hg-git/files/patch-hggit__git_handler.py
new file mode 100644
index 000000000000..9901ae9b0bc5
--- /dev/null
+++ b/devel/hg-git/files/patch-hggit__git_handler.py
@@ -0,0 +1,11 @@
+--- ./hggit/git_handler.py.orig 2013-03-24 22:35:51.000000000 +0100
++++ ./hggit/git_handler.py 2013-10-05 10:40:01.222598222 +0200
+@@ -1034,7 +1034,7 @@
+ and ( ref.startswith('refs/heads/') or ref.startswith('refs/tags/') ) ]
+ want = [x for x in want if x not in self.git]
+ return want
+- f, commit = self.git.object_store.add_pack()
++ f, commit = self.git.object_store.add_pack()[:2]
+ try:
+ try:
+ progress = GitProgress(self.ui)