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

thgstatus.py: quicker dirname

Changeset e179c99e0585

Parent 93c29ea40f6e

by Simon Heimberg

Changes to one file · Browse files at e179c99e0585 Showing diff from parent 93c29ea40f6e Diff from another changeset...

 
24
25
26
27
 
28
29
30
 
24
25
26
 
27
28
29
30
@@ -24,7 +24,7 @@
  return repo.join("thgstatus")    def dirname(f): - return '/'.join(f.split('/')[:-1]) + return f[:max(0, f.rfind("/"))]    def showentry(f, e):   f("%s %s\n" % (e[0], e[1:-1]))