Mercurial > hgsubversion
changeset 421:8277113036f1
editor: rename hg_delta_editor.HgChangeReceiver to editor.HgEditor
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 11 Jun 2009 19:15:18 +0200 |
parents | 59e19c73b0df |
children | 6086363e8230 |
files | hgsubversion/editor.py hgsubversion/hg_delta_editor.py hgsubversion/svnmeta.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
rename from hgsubversion/hg_delta_editor.py rename to hgsubversion/editor.py --- a/hgsubversion/hg_delta_editor.py +++ b/hgsubversion/editor.py @@ -68,7 +68,7 @@ class RevisionData(object): self.externals = {} -class HgChangeReceiver(delta.Editor): +class HgEditor(delta.Editor): def __init__(self, meta): self.meta = meta
--- a/hgsubversion/svnmeta.py +++ b/hgsubversion/svnmeta.py @@ -9,7 +9,7 @@ from mercurial import node import util import maps -import hg_delta_editor +import editor def pickle_atomic(data, file_path, dir=None): @@ -85,7 +85,7 @@ class SVNMeta(object): @property def editor(self): if not hasattr(self, '_editor'): - self._editor = hg_delta_editor.HgChangeReceiver(self) + self._editor = editor.HgEditor(self) return self._editor def _get_uuid(self):