Re: I need help in SVN mv and SVN cp
On Wed, Aug 17, 2016 at 02:25:04PM +0530, rags bhat wrote:
> Ok let me explain.
> I had a makefile
> I used svn cp makefile makefilecp
> i used svn mv makefile makefilemv
> Generated patch
> using svn diff --git >patchfile
> then applied this in new SB which has no changes done, using svn patch
> all there targets are skipped, nothing got patched.
Git diffs add "a/" and "b/" prefixes to all paths in the patch file.
So try again with 'svn patch --strip 1'.
If that doesn't help could you show us the output of the failing
'svn patch' command, and the header lines of the patch files?
You don't need to show file content changes, just the headers which
look similar to this:
diff --git a/trunk/beta b/trunk/beta
deleted file mode 100644
--- a/trunk/beta (revision 2)
+++ /dev/null (nonexistent)
Received on 2016-08-17 11:14:35 CEST
This is an archived mail posted to the Subversion Users