Mercurial > hgsubversion
comparison hgsubversion/svnrepo.py @ 998:8045ebda705a
Improve UX. Update the implicit Path name for working with SVN repositories.
author | Jamie Clayton <jamie.clayton@jenasysdesign.com.au> |
---|---|
date | Sun, 10 Mar 2013 19:32:35 +1000 |
parents | 1bdd075a490a |
children | 3e716bb9f6df |
comparison
equal
deleted
inserted
replaced
997:c8cb06e1f323 | 998:8045ebda705a |
---|---|
120 if path is None: | 120 if path is None: |
121 path = self.ui.config('paths', 'default-push') | 121 path = self.ui.config('paths', 'default-push') |
122 if path is None: | 122 if path is None: |
123 path = self.ui.config('paths', 'default') | 123 path = self.ui.config('paths', 'default') |
124 if not path: | 124 if not path: |
125 raise hgutil.Abort('no Subversion URL specified') | 125 raise hgutil.Abort('no Subversion URL specified. Expect[path] default= or [path] default-push= SVN URL entries in hgrc.') |
126 self.path = path | 126 self.path = path |
127 self.capabilities = set(['lookup', 'subversion']) | 127 self.capabilities = set(['lookup', 'subversion']) |
128 pws = self.ui.config('hgsubversion', 'password_stores', None) | 128 pws = self.ui.config('hgsubversion', 'password_stores', None) |
129 if pws is not None: | 129 if pws is not None: |
130 # Split pws at comas and strip neighbouring whitespace (whitespace | 130 # Split pws at comas and strip neighbouring whitespace (whitespace |