[PATCH] Fix issue 1763 by stripping \r from gitpatch reported path
Matt Mackall
mpm at selenic.com
Fri Jul 24 21:28:24 UTC 2009
On Fri, 2009-07-24 at 16:27 +0000, Bill Barry wrote:
> # HG changeset patch
> # User Bill Barry <after.fallout at gmail.com>
> # Date 1248452792 21600
> # Node ID 384618d1871a0923aa1715fcdd8d227a66e0455c
> # Parent 65719472bfa2cde9630b2fc019688d95327d3e69
> Fix issue 1763 by stripping \r from gitpatch reported path
Seems we should do this in the various places we initially assign
gp.path and oldpath instead. In fact, perhaps we can simply strip the \r
at the beginning of 'for line in lr:'?
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list