Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

thgmq: qreorder() accepts only patch names, not patch indices

Changeset 2a862ea40066

Parent 3a33a6fb6b30

by Yuki KODAMA

Changes to one file · Browse files at 2a862ea40066 Showing diff from parent 3a33a6fb6b30 Diff from another changeset...

 
459
460
461
462
 
463
464
465
 
459
460
461
 
462
463
464
465
@@ -459,7 +459,7 @@
  op: the operator for moving the patch: MOVE_TOP, MOVE_UP,   MOVE_DOWN or MOVE_BOTTOM.   """ - if isinstance(patch, (basestring, int, long)): + if isinstance(patch, (basestring)):   patch = [patch]   applied = [p for p in patch if self.is_applied(p)]   if not patch or not self.is_operable() or len(applied) > 0: