Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: Accidently deleted items Please help me undo

subversion
Discussion topic

Back to topic list

Re: Accidently deleted items Please help me undo

Author David Weintraub <qazwart at gmail dot com>
Full name David Weintraub <qazwart at gmail dot com>
Date 2009-04-01 07:36:48 PDT
Message As you've already noticed, the files you've deleted via "svn delete"
have been deleted from the working copy itself which is the only place
where your non-committed changes were located. There is no way to
undelete the deleted files (although a version control system with
undo capabilities would be rather intriguing.)

It may be possible to go through the .svn directories, unmark the
files as deleted, and then move the copies from your trash back to the
working directory, but it really doesn't do much more than doing a
revert and moving your files from the Trash back to the working
directory.

One of the advantages with distributed file systems like Git is that
it allows you to "version" your work without having to save it back to
the repository. When I've used Git, I'll continuously save my changes
back to my private repository, then at the end of the day, commit my
changes back to the public repository.

Of course, the ability of Git to do just this causes another problem:
Getting developers to actually commit their changes to the public
repository on a regular basis. I've had a lot of problems -- not with
Git -- but with other distributed revision control systems and with
ClearCase UCM on this very issue. Many developers like it when you can
live in your own little world and don't have to interact with other
people. Video games and distributed version control makes it very easy
for many developers to fall into that very trap.

On Tue, Mar 31, 2009 at 6:04 PM, <webpost at tigris dot org> wrote:
>> svn revert
>> ?
>
> No, the problem with that is that I lose all the local changes I made.  I had changed several files inside the folder before I accidentally deleted it before I committed it.
>
> I do have copies of the files (they were sent to the Trash).  I guess the easiest way is to revert and then replace the modified files that are in my Trash.
>
> Thanks,
> Jeremy
>
>
>>
>>  --
>> You design it, I'll build it
>> e-mail: michael dot l dot brown at philips dot com
>> desk: 608-288-6969
>> cell: 608-206-6843
>>
>> -----Original Message-----
>> From: webpost at tigris dot org [mailto:webpost at tigris dot org]
>> Sent: Tuesday, March 31, 2009 4:35 PM
>> To: users at subversion dot tigris dot org
>> Subject: Accidently deleted items Please help me undo
>>
>> I just accidently did
>>
>> svn rm Folder
>>
>> but did not want to remove Folder from the repository.  I haven't yet committed.  Is there anyway to undo this action?
>>
>> Thanks,
>> Jeremy
>>
>> --------------------​--------------------​--------------
>> http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessageId=14​99914
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe@s​ubversion.tigris.org​].
>>
>> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
>
> --------------------​--------------------​--------------
> http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessageId=15​00132
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@s​ubversion.tigris.org​].
>



--
David Weintraub
qazwart at gmail dot com

« Previous message in topic | 4 of 7 | Next message in topic »

Messages

Show all messages in topic

Accidently deleted items Please help me undo webpost at tigris dot org webpost at tigris dot org 2009-03-31 14:34:48 PDT
     RE: Accidently deleted items Please help me undo "Brown, Michael" <michael dot l dot brown at philips dot com> "Brown, Michael" <michael dot l dot brown at philips dot com> 2009-03-31 14:52:48 PDT
         RE: Accidently deleted items Please help me undo webpost at tigris dot org webpost at tigris dot org 2009-03-31 15:04:17 PDT
             Re: Accidently deleted items Please help me undo David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-04-01 07:36:48 PDT
             Re: Accidently deleted items Please help me undo ryandesign Ryan Schmidt 2009-04-01 16:21:37 PDT
     Re: Accidently deleted items Please help me undo David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-03-31 15:09:53 PDT
         Re: Accidently deleted items Please help me undo ryandesign Ryan Schmidt 2009-04-01 16:14:21 PDT
Messages per page: