Message3832

Author AlexRayne
Recipients
Date 2007-08-16.16:19:09
Content
Hallow all!
i`ve try to hg qimport some patch produced by svn.
when try to hg qpush it reported that patch cant found files to merge to.
the cause is that hg use prefix a/, b/ for differenced files, but svn
when produce unified diff stay this names unprefixed.
IMHO useful to allow patch work with unified diffs.

here example:
this patch imported from svn

Index: D:/Program Files/Borland/FBDataset.hg/FBCustomDataSet.pas
===================================================================
--- FBCustomDataSet.pas	(revision 82)
+++ FBCustomDataSet.pas	(revision 83)
@@ -162,7 +162,6 @@
     FDisconnectExpected: Boolean;
..............

and this can be pushed by hg:
Index: D:/Program Files/Borland/FBDataset.hg/FBCustomDataSet.pas
===================================================================
--- a/FBCustomDataSet.pas	(revision 82)
+++ b/FBCustomDataSet.pas	(revision 83)
@@ -162,7 +162,6 @@
     FDisconnectExpected: Boolean;
     FAutoCommit: boolean;
     FDefaultFormats: TDefaultFormats;
-    FInspectRecNo:integer;
History
Date User Action Args
2007-08-16 16:19:11AlexRaynesetmessageid: <1187281151.74.0.434192568715.issue691@selenic.com>
2007-08-16 16:19:11AlexRaynelinkissue691 messages
2007-08-16 16:19:09AlexRaynecreate