Merge commit 'refs/merge-requests/10' of git://gitorious.org/irker/irker into merge...
authorEric S. Raymond <esr@thyrsus.com>
Wed, 3 Oct 2012 07:13:34 +0000 (03:13 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 3 Oct 2012 07:13:34 +0000 (03:13 -0400)
1  2 
irkerhook.py

diff --cc irkerhook.py
index 53d5e0954d0f46a2936ddcc2a331085643352447,6b3aacc26682e09b305f006a6c60742ae0d06b3b..a7d24d5459912f3c7ed327745d9730d6038a55ef
@@@ -349,12 -349,9 +349,12 @@@ def hg_hook(ui, repo, **kwds)
      # [hooks]
      # incoming.irker = python:/path/to/irkerhook.py:hg_hook
      extractor = HgExtractor([(ui, repo)])
-     ship(extractor, node, False)
+     ship(extractor, kwds['node'], False)
  
 -extractors = [GitExtractor, SvnExtractor, HgExtractor]
 +# The files we use to identify a Subversion repo might occur as content
 +# in a git or hg repo, but the special subdirectories for those are more
 +# reliable indicators.  So test for Subversion last.
 +extractors = [GitExtractor, HgExtractor, SvnExtractor]
  
  # VCS-dependent code ends here