changeset 1053:04f15d38a500

svnwrap: don't require Revision paths to be specified
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Fri, 09 Aug 2013 19:19:07 +0200
parents 025de18d652b
children 131cb06dca76
files hgsubversion/svnwrap/common.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/common.py
+++ b/hgsubversion/svnwrap/common.py
@@ -51,7 +51,7 @@ class Revision(tuple):
 
     Derives from tuple in an attempt to minimise the memory footprint.
     """
-    def __new__(self, revnum, author, message, date, paths, strip_path=''):
+    def __new__(self, revnum, author, message, date, paths=None, strip_path=''):
         _paths = {}
         if paths:
             for p in paths: