[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: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 17 Aug 2016 10:02:14 +0200

On Tue, Aug 16, 2016 at 09:42:02PM -0700, rags bhat wrote:
> Hi ,
>
> Please someone guide me how to generate svn diff which can capture svn mv
> or svn cp operations carried out in a workspace?
>
> So when i use svn patch, it should delete old file and replace it with new
> file resulted from svn mv.

The normal unidiff patch format cannot express tree changes
such as copies, renames, moves, and replacements.

But SVN has some support for extensions to this format which were
introduced by git. Use 'svn diff --git' to generate patches using
these extensions, which provide hints about copies and renames.
'svn patch' has some support for these extensions, too.

This feature is experimental and incomplete so it might not work
as you expect. If you use this feature, please provide feedback
and let us know how it works for you.
If you run into problems that look like bugs, please report them.

> Also is there any way to see dummy commit? try dummy commit but it should
> not actually commit into repo.

Why do you need this?

Thanks,
Stefan

PS: Please do not post here via google groups. It is inconvenient for
those of us who use the normal mailing list because it generates bounces.
Please use our users@ mailing list direcly instead. See here for details:
http://subversion.apache.org/mailing-lists.html
Received on 2016-08-17 10:02:28 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.