Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

nautilus: directly use util.datestr()

More cut-pase :)

Changeset 814130b27945

Parent 51f5e11f60c4

by Steve Borho

Changes to one file · Browse files at 814130b27945 Showing diff from parent 51f5e11f60c4 Diff from another changeset...

 
12
13
14
15
 
16
17
18
 
21
22
23
24
25
26
27
28
 
514
515
516
517
 
518
519
520
 
12
13
14
 
15
16
17
18
 
21
22
23
 
 
24
25
26
 
512
513
514
 
515
516
517
518
@@ -12,7 +12,7 @@
 import gconf  import gtk  import gobject -from mercurial import hg, ui, repo, match +from mercurial import hg, ui, repo, match, util  from mercurial.node import short  import nautilus  import os @@ -21,8 +21,6 @@
 import tempfile  import time  import urllib -from hggtk.hglib import displaytime -  TORTOISEHG_PATH = '~/tools/tortoisehg-dev'  TERMINAL_KEY = '/desktop/gnome/applications/terminal/exec'   @@ -514,7 +512,7 @@
  rev = ctx.rev()   ctx = repo.changectx(rev)   node = short(ctx.node()) - date = displaytime(ctx.date()) + date = util.datestr(ctx.date(), '%Y-%m-%d %H:%M:%S %1%2')   parents = '\n'.join([short(p.node()) for p in ctx.parents()])   description = ctx.description()   user = ctx.user()