Mercurial > evolve
diff hgext/pushexperiment.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 | 196c650d5ba9 |
children | 81a221db8a72 |
line wrap: on
line diff
--- a/hgext/pushexperiment.py Fri Jun 26 00:59:22 2015 -0700 +++ b/hgext/pushexperiment.py Mon Jun 29 02:30:27 2015 -0700 @@ -80,7 +80,7 @@ and remote.capable('_push_experiment_pushobsmarkers_0')): # push marker early to limit damage of pushing too early. try: - obsfp = repo.sopener('obsstore') + obsfp = repo.svfs('obsstore') except IOError as e: if e.errno != errno.ENOENT: raise