Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

commit: white-space cleanups

Changeset 39c996e12ebe

Parent 16fc14deb9eb

by Steve Borho

Changes to one file · Browse files at 39c996e12ebe Showing diff from parent 16fc14deb9eb Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
1078
1079
1080
1081
 
 
1082
1083
1084
1085
 
 
1086
1087
1088
 
 
1089
1090
1091
1092
 
 
1093
1094
1095
 
1078
1079
1080
 
1081
1082
1083
1084
1085
 
1086
1087
1088
1089
 
1090
1091
1092
1093
1094
 
1095
1096
1097
1098
1099
@@ -1078,18 +1078,22 @@
  # Create new opts, so nothing unintented gets through.   # commands.table revert key changed after 0.9.5, in change d4ec6d61b3ee   key = '^revert' in commands.table and '^revert' or 'revert' - revertopts = self.merge_opts(commands.table[key][1], ('include', 'exclude', 'rev')) + revertopts = self.merge_opts(commands.table[key][1], + ('include', 'exclude', 'rev'))   def dohgrevert():   commands.revert(self.ui, self.repo, *wfiles, **revertopts)   - # TODO: Ask which revision when multiple parents (currently just shows abort message) + # TODO: Ask which revision when multiple parents (currently just + # shows abort message)   # TODO: Don't need to prompt when reverting added or removed files   if self.count_revs() == 1: - # rev options needs extra tweaking since is not an array for revert command + # rev options needs extra tweaking since is not an array for + # revert command   revertopts['rev'] = revertopts['rev'][0]   dialog = Confirm('Revert', files, self, 'Revert files to revision ' + revertopts['rev'] + '?')   else: - # rev options needs extra tweaking since it must be an empty string when unspecified for revert command + # rev options needs extra tweaking since it must be an empty + # string when unspecified for revert command   revertopts['rev'] = ''   dialog = Confirm('Revert', files, self)   if dialog.run() == gtk.RESPONSE_YES: