mercurial/store.py
changeset 6989 32e68ffccbc5
parent 6988 907e4e9bd3c4
child 7229 7946503ec76e
--- a/mercurial/store.py	Sun Aug 31 00:22:20 2008 +0200
+++ b/mercurial/store.py	Fri Sep 05 11:00:07 2008 +0200
@@ -120,7 +120,8 @@
         return (['requires', '00changelog.i'] +
                 [self.pathjoiner('store', f) for f in _data.split()])
 
-def store(requirements, path, opener, pathjoiner):
+def store(requirements, path, opener, pathjoiner=None):
+    pathjoiner = pathjoiner or os.path.join
     if 'store' in requirements:
         return encodedstore(path, opener, pathjoiner)
     return basicstore(path, opener, pathjoiner)