Mercurial > hgsubversion
changeset 273:e0f9fa0acc03
Fix the nourl check to use the command name, instead of the function
author | Daniel Tang <dytang@cs.purdue.edu> |
---|---|
date | Thu, 23 Apr 2009 01:33:38 -0400 |
parents | 25d843281127 |
children | a119ab6135f3 |
files | __init__.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -93,7 +93,7 @@ def svn(ui, repo, subcommand, *args, **o path = os.path.dirname(repo.path) try: commandfunc = svncommands.table[subcommand] - if commandfunc not in svncommands.nourl: + if subcommand not in svncommands.nourl: opts['svn_url'] = open(os.path.join(repo.path, 'svn', 'url')).read() return commandfunc(ui, args=args, hg_repo_path=path, repo=repo, **opts) except core.SubversionException, e: