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

RE: How to move a directory, change it and move it back

From: Donald Kwakkel <dkwakkel_at_cordys.com>
Date: Tue, 24 Nov 2009 10:38:48 +0100

Just imagine that you are using a graphical frontend (e.g. java eclipse development) and you move a package, add some file and move it back.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009d_at_ryandesign.com]
Sent: Tuesday, November 24, 2009 9:44 AM
To: Donald Kwakkel
Cc: users_at_subversion.tigris.org
Subject: Re: How to move a directory, change it and move it back

On Nov 24, 2009, at 01:25, Donald Kwakkel wrote:

> Does someone know if it is possible to move a commited directory, change it and move it back?
>
> Something like this:
>
> mkdir f
> svn add f
> svn commit --message message .
> svn rename f g
> echo "some text" > g\x.txt
> svn add g\x.txt
> svn rename g f

I think the answer is no, but why do you want to do that? Why not just

mkdir f
svn add f
svn commit --message message .
echo "some text" > f\x.txt
svn add f\x.txt
svn commit --message message .

The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423745

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-24 10:39:51 CET

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.