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

RE: Remove transaction / revision from repository?

From: Jan Evert van Grootheest <j.grootheest_at_euronext.nl>
Date: 2004-08-24 11:16:00 CEST

Hi Jens,

It is impossible (and for good reasons) to remove revisions.
How about this to move it to a better place:

1. figure out what is in the root of the repository
2. create the directory where you need it to be
3. make a working copy of the directory created in step 2
4. 'svn mv' all items from step 1 to the working copy
5. commit

Unfortunately, 'svn mv' (step 4) can only move one item at a time (either
dir or file). So if there are many items in the root itself, you'll have to
'svn mv' a lot.

Another option is to reverse-merge the revision; that will effectively undo
the error:

1. create a working copy of the root
2. 'svn merge -r X:X-1 . .' #X is the revision you erroneouly created and
notice the two dots with a space in-between
3. commit

I think the merge with '. .' should work; if not, replace the first one with
the url of the repository root.

-- Jan Evert

> -----Original Message-----
> From: Jens Cramer [SMTP:jmc@jmc.bz]
> Sent: Tuesday, August 24, 2004 10:57 AM
> To: users@subversion.tigris.org
> Subject: Remove transaction / revision from repository?
> Hi all,
> on my fault, I've imported a project to the root of my repository
> instead of a subfolder. Now I want to remove the complete transaction
> or, if possible, move all files of this project to the correct
> subfolder.
> Can anybody give me instructions?
> Thanks in advance,
> --
> Jens Cramer
> jmc@jmc.bz
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

 === E U R O N E X T - D I S C L A I M E R =============================

 This e-mail and its attachments are only intended for the individual(s) or
entity(entities) named above to whom they are addressed and may contain
personal and/or confidential information. Please notify us immediately if
you are not the intended recipient. Any dissemination, duplication,
publication to third parties or other use of the contents of this e-mail or
its attachments is forbidden. Although this information has been compiled
with great care, neither Euronext N.V. nor its subsidiaries shall accept any
responsibility for any errors, omissions or other inaccuracies in this
information or for the consequences thereof, nor shall it be bound in any
way by the contents of this e-mail or its attachments. In the event of
incomplete or incorrect transmission please return the e-mail to the sender.

 Cet e-mail et ses annexes sont uniquement destinés à la (aux) personne(s),
ou à l' (aux) entité(s) à laquelle (auxquelle(s)) il est adressé, visée (s)
en tête du présent message. Il peut contenir des informations personnelles
ou confidentielles. Merci de nous notifier immédiatement si cet e-mail vous
a été adressé par erreur. Toute diffusion, copie, publication à des tiers ou
toute autre utilisation de son contenu est interdite. Bien que cette
information ait été rassemblée avec une grande attention, ni Euronext N.V.
ni aucune de ses filiales, ne peut être tenue responsable des erreurs,
omissions ou inexactitudes contenues dans cette information, ni ne peut être
liée d'aucune manière par le contenu de cet e-mail ou ses annexes. En cas de
transmission incorrecte ou incomplète, nous vous prions de retourner cet
e-mail à son émetteur.

 Deze e-mail en zijn bijlagen zijn uitsluitend bestemd voor de
geadresseerde(n) als op dit e-mailblad vermeld. Het is mogelijk dat deze
e-mail persoonlijke en/of vertrouwelijke informatie bevat. Wanneer u niet de
geadresseerde bent, verzoeken wij u dringend ons daarvan te berichten. Elke
verspreiding, vermenigvuldiging, gebruik of openbaarmaking aan derden van de
inhoud van deze e-mail en zijn bijlagen, is verboden. Hoewel deze informatie
met de meeste zorg is samengesteld is Euronext N.V., en de tot Euronext N.V.
behorende werkmaatschappijen, op geen enkele wijze aansprakelijk voor
eventuele fouten, omissies of andere onjuistheden in deze informatie of de
gevolgen daarvan noch op enigerlei wijze gebonden aan de inhoud van de
e-mail of zijn bijlagen. Gelieve, in geval van onjuiste of onvolledige
ontvangst, deze e-mail terug te sturen naar de afzender.

Received on Tue Aug 24 11:16:46 2004

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.