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

status: 80-char cleanups

Changeset 241a952e484c

Parent cfec353399a7

by Steve Borho

Changes to one file · Browse files at 241a952e484c Showing diff from parent cfec353399a7 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​status.py Stacked
 
1051
1052
1053
1054
 
 
1055
1056
1057
 
1146
1147
1148
1149
 
 
1150
1151
1152
 
1051
1052
1053
 
1054
1055
1056
1057
1058
 
1147
1148
1149
 
1150
1151
1152
1153
1154
@@ -1051,7 +1051,8 @@
  wfile = util.pconvert(row[FM_PATH])   fc = self._filechunks[wfile]   cids.append(fc[0]) - cids += [dmodel[r][DM_CHUNK_ID] for r in fc[1:] if not dmodel[r][DM_REJECTED]] + cids += [dmodel[r][DM_CHUNK_ID] for r in fc[1:] + if not dmodel[r][DM_REJECTED]]   try:   fp = open(result, "w")   for cid in cids: @@ -1146,7 +1147,8 @@
  def _hg_add(self, files):   wfiles = [self.repo.wjoin(x) for x in files]   # Create new opts, so nothing unintented gets through - addopts = self.merge_opts(commands.table['^add'][1], ('include', 'exclude')) + addopts = self.merge_opts(commands.table['^add'][1], + ('include', 'exclude'))   def dohgadd():   commands.add(self.ui, self.repo, *wfiles, **addopts)   success, outtext = self._hg_call_wrapper('Add', dohgadd)