##// END OF EJS Templates
revsingle: fix silly API issue (issue2992)
Matt Mackall -
r19509:8963a706 stable
parent child Browse files
Show More
@@ -556,7 +556,7 b' def rcpath():'
556 return _rcpath
556 return _rcpath
557
557
558 def revsingle(repo, revspec, default='.'):
558 def revsingle(repo, revspec, default='.'):
559 if not revspec:
559 if not revspec and revspec != 0:
560 return repo[default]
560 return repo[default]
561
561
562 l = revrange(repo, [revspec])
562 l = revrange(repo, [revspec])
General Comments 0
You need to be logged in to leave comments. Login now