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

RE: How to revert a commit?

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-07-28 08:38:59 CEST

Because Revision 1 indicates the state of the repository after your first
commit. If
you want to include that first commit in the repo-dump, you have to start
from the
state of the repository before the first commit, ie. r0 .
 
A commit brings the repository from state x ( rx ) to state x+1 ( rx+1 ). So
the number
you get at the end of the commit indicates the state your repository was
brought to
after the commit.
 
regards,
 
Lieven.

   _____

From: Adrian Hoe [mailto:mailbox@adrianhoe.com]
Sent: donderdag 28 juli 2005 4:51
To: Subversion List
Subject: Re: How to revert a commit?

On Jul 28, 2005, at 9:57 AM, Branko Cibej wrote:

Adrian Hoe wrote:

On Jul 28, 2005, at 9:18 AM, Branko Čibej wrote:

svnadmin dump -r0:26 old-repo | svnadmin load --force-uuid new-repo

Why r0 and not r1? The initial import was r1.

--
"If you missed the rising sun and the morning dew, don't miss the beautiful
sunset." -- Adrian Hoe inspired by Michal Nowak, June 15 2004
HYPERLINK "http://adrianhoe.com"http://adrianhoe.com
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25/07/2005
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 28 08:43:23 2005

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.