hgext/fetch.py
changeset 6139 989467e8e3a9
parent 5798 86f5d8f608b7
child 6163 1f733c2f0165
--- a/hgext/fetch.py	Sun Feb 17 12:53:57 2008 +0100
+++ b/hgext/fetch.py	Sun Feb 17 21:34:28 2008 +0100
@@ -65,6 +65,10 @@
         modheads = repo.pull(other, heads=revs)
         return postincoming(other, modheads)
 
+    date = opts.get('date')
+    if date:
+        opts['date'] = util.parsedate(date)
+
     parent, p2 = repo.dirstate.parents()
     if parent != repo.changelog.tip():
         raise util.Abort(_('working dir not at tip '