# HG changeset patch # User Yuki KODAMA <[email protected]> # Date 1252948717 -32400 # Node ID 2a5868372e090a53c7b3c33728a1401a01aa2036 # Parent b37dcdfe23e6101872b270340936f9c601aec807 changeset: do not show invalid timestamp of patch
Sometime it shows "1970-01-01 00:00:00 +0000".
diff --git a/tortoisehg/hgtk/changeset.py b/tortoisehg/hgtk/changeset.py
--- a/tortoisehg/hgtk/changeset.py
+++ b/tortoisehg/hgtk/changeset.py
@@ -286,7 +286,9 @@
data = patch.extract(self.ui, pf)
tmp, msg, user, date, branch, node, p1, p2 = data
try:
- ud = toutf(user) + '\t' + displaytime(util.parsedate(date))
+ ud = toutf(user)
+ if date:
+ ud += '\t' + displaytime(util.parsedate(date))
msg = toutf(msg.rstrip('\r\n'))
patchname = os.path.basename(self.curpatch)
patchtitle = patchname
thg-kuy_rev4012.patch
Description: Binary data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
