Mercurial > evolve
diff hgext/evolve.py @ 1465:777e5c369d99 stable
compat: use svfs instead of sopener
The "new" attribute is about 2 years old so let's move on.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 29 Jun 2015 02:30:27 -0700 |
parents | d830d4e9f212 |
children | a433948ca8d2 |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Jun 26 00:59:22 2015 -0700 +++ b/hgext/evolve.py Mon Jun 29 02:30:27 2015 -0700 @@ -3336,7 +3336,7 @@ if new_format == repo.obsstore._version: msg = _('New format is the same as the old format, not upgrading!') raise util.Abort(msg) - f = repo.sopener('obsstore', 'wb', atomictemp=True) + f = repo.svfs('obsstore', 'wb', atomictemp=True) origmarkers = repo.obsstore._all known = set() markers = []