diff hgext/convert/p4.py @ 7869:bc027d72c289

cleanup: remove all trailing whitespace
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 23 Mar 2009 13:11:11 +0100
parents 11efa41037e2
children d596b1f2935a ee8d9b93b316
line wrap: on
line diff
--- a/hgext/convert/p4.py	Mon Mar 23 11:12:01 2009 +0100
+++ b/hgext/convert/p4.py	Mon Mar 23 13:11:11 2009 +0100
@@ -66,7 +66,7 @@
         else:
             cmd = "p4 -G client -o '%s'" % path
             clientspec = marshal.load(util.popen(cmd))
-            
+
             views = {}
             for client in clientspec:
                 if client.startswith("View"):
@@ -89,8 +89,8 @@
 
         # handle revision limiting
         startrev = self.ui.config('convert', 'p4.startrev', default=0)
-        self.p4changes = [x for x in self.p4changes 
-                          if ((not startrev or int(x) >= int(startrev)) and 
+        self.p4changes = [x for x in self.p4changes
+                          if ((not startrev or int(x) >= int(startrev)) and
                               (not self.rev or int(x) <= int(self.rev)))]
 
         # now read the full changelists to get the list of file revisions
@@ -110,7 +110,7 @@
                 parents = [lastid]
             else:
                 parents = []
-            
+
             date = (int(d["time"]), 0)     # timezone not set
             c = commit(author=self.recode(d["user"]), date=util.datestr(date),
                         parents=parents, desc=desc, branch='', extra={"p4": change})
@@ -131,7 +131,7 @@
             self.changeset[change] = c
             self.files[change] = files
             lastid = change
-        
+
         if lastid:
             self.heads = [lastid]