Dan Villiom Podlaski Christiansen avatar Dan Villiom Podlaski Christiansen committed 4c36123

Delete a patch.

Comments (0)

Files changed (2)

less-fail.diff

-# HG changeset patch
-# Parent b3da0ab5ddf154da223ee056681d783a2fbce6a5
-# User Dan Villiom Podlaski Christiansen <danchr@gmail.com>
-findoutgoing: don't specify arguments irrelevant to hg-git
-
-diff --git a/hggit/__init__.py b/hggit/__init__.py
---- a/hggit/__init__.py
-+++ b/hggit/__init__.py
-@@ -105,14 +105,13 @@ extensions.wrapfunction(localrepo.localr
- 
- try:
-     from mercurial import discovery
--    def findoutgoing(orig, local, remote, base=None, heads=None, force=False):
-+    def findoutgoing(orig, local, remote, *args, **kwargs):
-         if isinstance(remote, gitrepo.gitrepo):
-             git = GitHandler(local, local.ui)
-             base, heads = git.get_refs(remote.path)
--            r = orig(local, remote, base=base, heads=heads,
--                        force=force)
-+            r = orig(local, remote, *args, **kwargs)
-             return [x[0] for x in r]
--        return orig(local, remote, base=base, heads=heads, force=force)
-+        return orig(local, remote, *args, **kwargs)
-     extensions.wrapfunction(discovery, 'findoutgoing', findoutgoing)
- except ImportError:
-     pass
-less-fail.diff
 1.5-compat.diff
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.