Mercurial > public > mercurial-scm > hg
diff contrib/shrink-revlog.py @ 15381:c519cd8f0169 stable
backout dbdb777502dc (issue3077) (issue3071)
Using util.realpath turns out to create complex issues on both Mac and
Windows. Back this change out for the release.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 29 Oct 2011 11:02:23 -0500 |
parents | dbdb777502dc |
children | 90ca62bb9e78 |
line wrap: on
line diff
--- a/contrib/shrink-revlog.py Fri Oct 28 15:00:21 2011 +0200 +++ b/contrib/shrink-revlog.py Sat Oct 29 11:02:23 2011 -0500 @@ -172,7 +172,7 @@ raise util.Abort(_('--revlog option must specify the revlog index ' 'file (*.i), not %s') % opts.get('revlog')) - indexfn = util.realpath(fn) + indexfn = os.path.realpath(fn) store = repo.sjoin('') if not indexfn.startswith(store): raise util.Abort(_('--revlog option must specify a revlog in %s, '