mercurial/cmdutil.py
changeset 12619 7178f6fedb9d
parent 12618 0ae35296fbf4
child 12689 c52c629ce19e
--- a/mercurial/cmdutil.py	Thu Oct 07 18:24:29 2010 -0500
+++ b/mercurial/cmdutil.py	Fri Oct 08 14:02:23 2010 -0500
@@ -111,7 +111,7 @@
         limit = None
     return limit
 
-def revsingle(repo, revspec, default=None):
+def revsingle(repo, revspec, default='.'):
     if not revspec:
         return repo[default]