Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable repomodel: note in the Working Dir description if the rev is off the branch head

Changeset f883746a9f0d

Parent 9a440e62fbf6

by Daniel Atallah

Changes to one file · Browse files at f883746a9f0d Showing diff from parent 9a440e62fbf6 Diff from another changeset...

 
509
510
511
 
512
513
514
 
515
516
 
 
 
 
 
 
 
 
517
518
519
 
509
510
511
512
513
514
 
515
516
 
517
518
519
520
521
522
523
524
525
526
527
@@ -509,11 +509,19 @@
    def getlog(self, ctx, gnode):   if ctx.rev() is None: + msg = None   if self.unicodestar:   # The Unicode symbol is a black star: - return u'\u2605 ' + _('Working Directory') + u' \u2605' + msg = u'\u2605 ' + _('Working Directory') + u' \u2605'   else: - return '*** ' + _('Working Directory') + ' ***' + msg = '*** ' + _('Working Directory') + ' ***' + + for pctx in ctx.parents(): + if pctx.node() not in self.repo._branchheads: + text = _('Not a head revision!') + msg += " " + qtlib.markup(text, fg='red', weight='bold') + + return msg     msg = ctx.longsummary()