ports/devel/hg-git/files/patch-hggit__git_handler.py
William Grzybowski 1ce9fcd054 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)
2013-10-14 12:10:40 +00:00

11 lines
527 B
Python

--- ./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)