Mercurial > hgsubversion
diff utility_commands.py @ 265:9f0738587f94
Re-re-refix username support, add a comment so maybe I remember this time.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 13 Apr 2009 21:12:33 -0500 |
parents | 112d57bb736e |
children | 1d48d9a34c19 |
line wrap: on
line diff
--- a/utility_commands.py +++ b/utility_commands.py @@ -36,8 +36,7 @@ def genignore(ui, repo, hg_repo_path, fo url = hge.url if url[-1] == '/': url = url[:-1] - user = opts.get('username', hgutil.getuser()) - passwd = opts.get('passwd', '') + user, passwd = util.getuserpass(opts) svn = svnwrap.SubversionRepo(url, user, passwd) dirs = [''] + [d[0] for d in svn.list_files(branchpath, r) if d[1] == 'd'] for dir in dirs: