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 > then > 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 > patchfile > > 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: Index: beta =================================================================== diff --git a/trunk/beta b/trunk/beta deleted file mode 100644 --- a/trunk/beta (revision 2) +++ /dev/null (nonexistent)