# HG changeset patch # User Sean Farley # Date 1395678053 18000 # Node ID fc48e106592631a0a02cfd7af69f7dcbe98cd283 # Parent 631a572658c2ae22a2bc6572df1cea9e49c75358 wrappers: use meta.branch instead of ui.config directly diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -406,14 +406,13 @@ def pull(repo, source, heads=[], force=F meta) repo.ui.note('using %s layout\n' % layout) - branch = repo.ui.config('hgsubversion', 'branch') - if branch: + if meta.branch: if layout != 'single': msg = ('branch cannot be specified for Subversion clones using ' 'standard directory layout') raise hgutil.Abort(msg) - meta.branchmap['default'] = branch + meta.branchmap['default'] = meta.branch ui = repo.ui start = meta.lastpulled