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

RE: RE: reverting a committed revision

From: Michael Pickard <mpickard_at_visitlondon.com>
Date: 2006-05-26 17:04:30 CEST

Thanks Felix, that's a great help.
However, I ran 'svn up -r 8099', and while it did appear to make some changes, and 'svn info' now returns 8099, files that were added after revision 8099 remain in the working directory, leading me to believe it wasn't a true roll back.

Can you elablorate a little on what 'svn up' does ? - it doesn't appear to be documented in O'Reilly's book.

As an alternative option, I guess I could delete the contents of the working directory and then
svn checkout -r 8099
but that seems a little clumsy.

> -----Original Message-----
> From: Felix Gilcher [mailto:gilcher@exozet.com]
> Sent: 26 May 2006 15:00
> To: Michael Pickard; users@subversion.tigris.org
> Subject: AW: RE: reverting a committed revision
>
> Michael Pickard <mailto:mpickard@visitlondon.com> schrieb am Freitag, 26.
> Mai 2006 15:06:
>
> > Would this also work when there is a requirement to 'rollback' an
> > entire working directory to a previous revision ? i.e
> >
> > svn merge -r 8109:8099http://path/to/trunk/rep rep
>
> it depends on what you intend to do: if you just want to have a look at
> rev 8099 and don't want to check in any changes based on the version, a
> simple "svn up -r8099 " will do the job - but you won't be able to check
> in any changes.
>
> Otherwise, if you wish to undo the changes in the versions between 8099
> and 8109, your command is the proper one.
>
> >
> > This appears to work - at least it does *something*. However, I would
> > like 'svn info' to return the number of the rolled back revision post
> > merge (so that I can be sure what revision I now have in the working
> > directory), so
> >
> > svn info revision=8109
> > merge
> > svn info revision=8099
>
> when using "svn up -r8099", this is what svn info will report - you
> updated you working copy to be at rev 8099. Otherwise, using the merge
> command, you changed your working copy (which is at rev 8109) so that any
> changes between the two revisions have been backed out. However, your
> changes are local and you working copy thus remains at rev 8109 - if you
> commit you'll get rev 8110. Revision numbers always go forward in time.
>
> >
> >> -----Original Message-----
> >> From: Ryan Schmidt [mailto:subversion-2006q2@ryandesign.com] Sent:
> >> 25 May 2006 12:46 To: Dominik Margraf
> >> Cc: users@subversion.tigris.org
> >> Subject: Re: reverting a committed revision
> >>
> >>
> >> On May 25, 2006, at 04:39, Dominik Margraf wrote:
> >>
> >>> [snip]
> >>
> >> Read the section "Undoing Changes" in the book:
> >>
> >> http://svnbook.red-bean.com/en/1.2/
> >> svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo
> >>
> >> (Please pardon my mail client if it breaks the URL...)
> >>
> >
> > Michael Pickard
> > Software Engineer
> > Visit London
> > 6th Floor,
> > 2 More London Riverside, London, SE1 2RR
> >
> > Tel: +44 (0)20 7234 5857
> > Fax: +44 (0)20 7234 5751
> > www.visitlondon.com
> >
> > Visit London is the official visitor organisation for London.
> > Visit London is partly funded by Partnership, the Mayor's
> > London Development Agency and the Association of London Government.
> > The information contained in this e-mail is confidential and
> > intended for the named recipient(s) only. If you have
> > received it in error, please notify the sender immediately
> > and then delete the message. If you are not the intended
> > recipient, you must not use, disclose, copy or distribute
> > this email. The views expressed in this e-mail are those of
> > the individual and not of Visit London. We reserve the right
> > to read and monitor any email or attachment entering or
> > leaving our systems without prior notice.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
>
> regards
>
> fg
>
> --
> Felix Gilcher
> Head of IT Development
>
> Exozet Berlin GmbH
> Rotherstraße 20
> 10245 Berlin
>
> eMail: gilcher@exozet.com
> URL: www.exozet.com
  
Michael Pickard
Software Engineer
Visit London
6th Floor,
2 More London Riverside, London, SE1 2RR
  
Tel: +44 (0)20 7234 5857
Fax: +44 (0)20 7234 5751
www.visitlondon.com
  
Visit London is the official visitor organisation for London. Visit London is partly funded by Partnership, the Mayor's London Development Agency and the Association of London Government.
The information contained in this e-mail is confidential and intended for the named recipient(s) only. If you have received it in error, please notify the sender immediately and then delete the message. If you are not the intended recipient, you must not use, disclose, copy or distribute this email. The views expressed in this e-mail are those of the individual and not of Visit London. We reserve the right to read and monitor any email or attachment entering or leaving our systems without prior notice.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 26 17:03:23 2006

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.