Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

histselect: fix broken page navigation functions

Changeset 7a747b414310

Parent da27d08979a5

by TK Soh

Changes to one file · Browse files at 7a747b414310 Showing diff from parent da27d08979a5 Diff from another changeset...

 
124
125
126
127
128
129
 
 
 
130
131
132
 
176
177
178
179
 
180
181
182
 
124
125
126
 
 
 
127
128
129
130
131
132
 
176
177
178
 
179
180
181
182
@@ -124,9 +124,9 @@
    def _get_hg_history(self, rev=None, limit=10):   # get history - options = {} - if rev: options['rev'] = [rev] - if limit: options['limit'] = limit + options = [] + if rev: options += ['--rev', rev] + if limit: options += ['--limit', str(limit)]   self._do_hg_cmd('log', options)     # parse log output @@ -176,7 +176,7 @@
    try:   q = Queue.Queue() - args = [cmd] + [os.path.join(self.root, x) for x in self.files] + args = [cmd] + options + [os.path.join(self.root, x) for x in self.files]   hglib.hgcmd_toq(self.root, q, *args, **{})   out = ''   while q.qsize(): out += q.get(0)