Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

csinfo: add preset 'ishead' item

Changeset b3e9698581b2

Parent 67e1a45e7fae

by Yuki KODAMA

Changes to one file · Browse files at b3e9698581b2 Showing diff from parent 67e1a45e7fae Diff from another changeset...

 
149
150
151
 
 
152
153
154
 
149
150
151
152
153
154
155
156
@@ -149,6 +149,8 @@
  if len(value) == 0:   return None   return value + elif item == 'ishead': + return len(ctx.children()) == 0   return default_func(widget, ctx)   ctx = repo[rev]   if custom.has_key(item) and custom[item].has_key('data'):