Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable sync: show both revid and hash in targets selectbox

Changeset 353c93715d34

Parent cd19a3ca18d1

by Daniel Atallah

Changes to one file · Browse files at 353c93715d34 Showing diff from parent cd19a3ca18d1 Diff from another changeset...

 
243
244
245
246
 
247
248
 
249
250
251
 
261
262
263
264
265
 
266
267
268
 
243
244
245
 
246
247
 
248
249
250
251
 
261
262
263
 
264
265
266
267
268
@@ -243,9 +243,9 @@
  else:   self.curalias = None   - def loadTargets(self, rev): + def loadTargets(self, ctx):   self.targetcombo.clear() - self.targetcombo.addItem(_('rev: ') + str(rev), str(rev)) + self.targetcombo.addItem(_('rev: %d (%s)') % (ctx.rev(), str(ctx)), str(ctx.rev()))     for name in self.repo.namedbranches:   uname = hglib.tounicode(name) @@ -261,8 +261,8 @@
  if rev >= len(self.repo):   return   - self.loadTargets(rev)   ctx = self.repo.changectx(rev) + self.loadTargets(ctx)     target = str(rev)   if ctx.thgbranchhead():