Skip to content

Commit

Permalink
Unify with git
Browse files Browse the repository at this point in the history
  • Loading branch information
misery committed Jul 4, 2024
1 parent a823981 commit 4b85b91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/mercurial_git_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -1754,9 +1754,8 @@ def process_mercurial_hook(stdin, log):
os.environ['CHGHG'] = HG
HG = CHG

h = MercurialHook(log)
node = os.environ.get('HG_NODE')
return h.push_to_reviewboard(node)
return MercurialHook(log).push_to_reviewboard(node)


def process_git_hook(stdin, log):
Expand Down

0 comments on commit 4b85b91

Please sign in to comment.