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

RE: svn add option to record replaced files as modified?

From: Jens Restemeier <jens_at_playtonicgames.com>
Date: Thu, 26 Jul 2018 11:01:59 +0100

I just added a script to the svn integration in my project using the
backup/revert/overwrite solution, so my use case is covered for now. An "svn
add --restore" option to do this in the client would still be useful...
maybe I'll try to hack it in when I have some time.

P.S.: I am not subscribed, so please CC me in any responses.
---------------
From: Jens Restemeier <jens_at_playtonicgames.com>
Sent: 25 July 2018 15:06
To: 'users_at_subversion.apache.org' <users_at_subversion.apache.org>
Subject: svn add option to record replaced files as modified?

I was wondering, would it be possible to add an option to “svn add” to
record deleted and then added files as “modified” instead of “replaced”?
Obviously this could be done with a script (backup the current file, svn
revert the file to remove the deleted status, copy the backup over the
restored file), but it may be safer to just update the metadata differently
inside the command. Or is this already possible with an option or command
that I’m not aware of?
Received on 2018-07-26 12:02:09 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.