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

RE: Feature request: Save the old file when svn revert

From: Grierson, David <David.Grierson_at_sky.uk>
Date: Tue, 21 Jul 2015 08:59:53 +0000

I completely understand that the action of sending to the Recycle Bin (in TortoiseSVN) is very system specific.

To simply rename the item being reverted as $item.$backupSuffix before then restoring the pristine item is presumably not that system specific?

Having this functionality in the base tool would then provide a benefit to all users and not just those using a specific IDE.

--
David Grierson - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools
Email: david.grierson_at_sky.uk
Watermark Building, Alba Campus, Livingston, EH54 7HH
> -----Original Message-----
> From: Andreas Stieger [mailto:Andreas.Stieger_at_gmx.de]
> Sent: 21 July 2015 09:38
> To: Grierson, David
> Cc: 牛暁冬; users_at_subversion.apache.org
> Subject: Re: Feature request: Save the old file when svn revert
>
> Hello,
>
> David Grierson wrote:
> > > "svn revert" will delete the local changes and nowhere to find, which
> > > is dangerous.
> > > I suggest the default behaiver should be save the local changed
> > > file(if any) to "filename.local" and do the revert.
> > >
> > That's actually not a bad idea ... I've been burnt by this one a couple
> of times myself.
> >
> > Probably worth raising it with the dev_at_subversion.apache.org list to see
> if it's something that they've considered previously.
>
> Actually a feature in at least one GUI client:
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-
> settings.html#tsvn-dug-settings-dialogs
> Otherwise it's rather platform specific to implement, and may be better
> suited for integrated clients.
>
> Andreas
Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
Received on 2015-07-21 11:00:48 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.