[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: I need help in SVN mv and SVN cp

From: rags bhat <rags.mpl_at_gmail.com>
Date: Wed, 17 Aug 2016 14:50:58 +0530

This is what available in the patch file

Index: Makefile
===================================================================
diff --git a/branches/Makefile
deleted dile mode 106444
-- a/branches/Makefile (revision XXX)
++ /dev/null (working copy)

-
-
 removed all lines with - symbol

Index: Makefilecp
===================================================================
diff --git a/branches/Makefilecp
copy from branches/Makefile_at_revision
copy to branches//Makefilecp
Index: Makefilemv
===================================================================
diff --git a/branches/Makefile b/branches/Makefilemv
copy from branches/Makefile_at_revision
copy to branches/Makefilemv

*Thanks & Regards*,
Raghavendra Bhat
Mobile: 9972442409

On Wed, Aug 17, 2016 at 2:44 PM, Stefan Sperling <stsp_at_elego.de> wrote:

> 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)
>
Received on 2016-08-17 11:21:10 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.