mercurial/cmdutil.py
changeset 14257 d035ede73434
parent 14249 f4766e1bb0b3
child 14259 df9ccd39828c
--- a/mercurial/cmdutil.py	Fri May 06 19:55:46 2011 +0300
+++ b/mercurial/cmdutil.py	Sun May 08 17:48:29 2011 +0200
@@ -335,7 +335,7 @@
 def updatedir(ui, repo, patches, similarity=0):
     '''Update dirstate after patch application according to metadata'''
     if not patches:
-        return
+        return []
     copies = []
     removes = set()
     cfiles = patches.keys()