Mercurial > public > mercurial-scm > hg
diff mercurial/cmdutil.py @ 18991:c1af1fb314bc
log: fix behavior with empty repositories (issue3497)
Make output in this special case consistent with general case one.
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Wed, 17 Apr 2013 00:29:54 +0400 |
parents | 3a72c89a83ec |
children | ab04e87a5f3b |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Tue Apr 16 13:22:29 2013 -0500 +++ b/mercurial/cmdutil.py Wed Apr 17 00:29:54 2013 +0400 @@ -1022,8 +1022,6 @@ follow = opts.get('follow') or opts.get('follow_first') - if not len(repo): - return [] if opts.get('rev'): revs = scmutil.revrange(repo, opts.get('rev')) elif follow: