[PATCH] cvs conversion now properly parse cvsroot
Matt Mackall
mpm at selenic.com
Sat May 4 18:38:00 CDT 2013
On Fri, 2013-05-03 at 20:14 +0200, Hrvoje Kozak wrote:
> # HG changeset patch
> # User Blesso hrvoje1212 at gmail.com
> # Date 1367602499 -7200
> # Branch stable
> # Node ID 2fb5c25951f23acfc22b7aa1054ed0089afea19e
> # Parent 762208a3edabc483936fff7ef4c8e02b25a8fba0
> convert: fix bug of wrong CVS path parsing without port number (issue3678)
>
> The cvsps.py:getrepopath suffers from a string parsing bug (it returns
> "user at server/path/to/repository" if the CVSROOT is given like this:
> ":pserver:user at server/path/to/repository" ), which gives returnes the wrong
> value becouse cvsps.py fails to strip the prefix from filenames.
> With this patch for the same input we get the correct repo path that is:
> "/path/to/repository"
This is queued for the stable branch with some minor tweaks, thanks.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list