LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2008, 04:42 AM   #1
drpaudel
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Rep: Reputation: 0
Unhappy Deleting version from Subversion Server


I am running a project under subversion my revision up to 525 is good and from revision 525 to 576 there is a Layout problem. I want to delete all revision form 525 to 576 which has Layout Problem. Could you help me so that I can delete revision 526 to 576.

Regards,
Dambar
 
Old 06-02-2008, 04:51 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
What about you check out version 525 and check it in as version 577?
 
Old 07-07-2008, 02:58 PM   #3
erikalm
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu Edgy
Posts: 7

Rep: Reputation: 0
Check this one out:
http://svnbook.red-bean.com/en/1.4/s...ommonuses.undo

I think it pretty much describes your problem. (so, this is a kind of "RTFM" ;o)

However, before I read the question completely I hammered the below out... since it's not completely off topic I'll leave it in (drpaudel this does not cover your problem, the above link does...)

You usually cannot delete revisions from the repository (since its purpose is to protect your code forever), however you can remove files from your working copy and check it in:

http://svnbook.red-bean.com/en/1.4/s....c.delete.html

If, however, you want to completely remove all versions of a file from the repository you need to use svndumpfilter (http://svnbook.red-bean.com/en/1.4/s....svndumpfilter). What it basically does is filter away paths from your dump files. So what you do is, create a dumpfile of your repository, filter away what you don't want. Create a new repository and "load" the dump into it (it's all neatly explained here: http://svnbook.red-bean.com/en/1.4/s...aint.filtering)

A bit hamhanded perhaps, but as I said... the versioning control system's task is to protect code... even from deletions.

HTH

/E
 
  


Reply

Tags
delete, subversion, svn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a subversion server/repository filburt1 Linux - Software 1 11-03-2006 12:28 AM
Is there a Pre-built version of Subversion for MDK 10.1? wesslan Mandriva 0 06-07-2006 06:30 AM
Setting up the subversion-server package for use dwrose SUSE / openSUSE 0 05-12-2005 09:19 PM
Subversion - version tagging in files? thinksincode Linux - Software 0 11-27-2004 12:47 AM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration