post-review: Mercurial client path from .hg/hgrc fixup when path url has http://user@host/repo
Review Request #1390 — Created Feb. 4, 2010 and submitted — Latest diff uploaded
In cases where the path of a mercurial repository is found from the hgrc file containing: [paths] default = http://tsaeger@hg/repo the path "http://tsaeger@hg/repo" is not found on the reviewboard server, however "http://hg/repo" is. This patch is a quick cut-n-paste to fix this.
Executing to following produce my diff as expected $ post-review -d --server=http://reviewboard -n ###.hg/hgrc [paths] default = http://tsaeger@hg/repo