Show More
@@ -24,13 +24,15 b'' | |||
|
24 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
25 | 25 | import os |
|
26 | 26 | import sys |
|
27 | import binascii | |
|
28 | from inspect import isfunction | |
|
27 | 29 | |
|
28 | 30 | from mercurial.scmutil import revrange |
|
29 | 31 | from mercurial.node import nullrev |
|
32 | ||
|
30 | 33 | from rhodecode import EXTENSIONS |
|
31 | 34 | from rhodecode.lib import helpers as h |
|
32 | 35 | from rhodecode.lib.utils import action_logger |
|
33 | from inspect import isfunction | |
|
34 | 36 | |
|
35 | 37 | |
|
36 | 38 | def _get_scm_size(alias, root_path): |
@@ -134,8 +136,8 b' def log_push_action(ui, repo, **kwargs):' | |||
|
134 | 136 | return (len(repo) - 1, 0) |
|
135 | 137 | |
|
136 | 138 | stop, start = get_revs(repo, [node + ':']) |
|
137 | ||
|
138 |
revs = ( |
|
|
139 | h = binascii.hexlify | |
|
140 | revs = (h(repo[r].node()) for r in xrange(start, stop + 1)) | |
|
139 | 141 | elif scm == 'git': |
|
140 | 142 | revs = [] |
|
141 | 143 |
General Comments 0
You need to be logged in to leave comments.
Login now