Mercurial > hgsubversion
changeset 1162:cb14dba562eb
svncommands: add svnmeta object
This patch adds a svnmeta object that currently does nothing but will be used
in upcoming patches to remove code duplication and unify svn meta data.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:43 -0500 |
parents | 8693c9558f1a |
children | 3028f083bd95 |
files | hgsubversion/svncommands.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -18,6 +18,7 @@ import svnrepo import util import svnexternals import verify +import svnmeta def updatemeta(ui, repo, args, **opts): @@ -53,6 +54,8 @@ def _buildmeta(ui, repo, args, partial=F raise hgutil.Abort('rebuildmeta takes 1 or no arguments') url = repo.ui.expandpath(dest or repo.ui.config('paths', 'default-push') or repo.ui.config('paths', 'default') or '') + + meta = svnmeta.SVNMeta(repo, skiperrorcheck=True) svnmetadir = os.path.join(repo.path, 'svn') if not os.path.exists(svnmetadir): os.makedirs(svnmetadir)