You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kenny Leung <ke...@pobox.com> on 2006/11/14 02:10:15 UTC

converting a file to a directory

Hi All.

I have a file in a repository that I would like to change into a  
directory. I figure I can do this by deleting the file, then adding a  
directory with the same name. Is this something I can safely do, or  
should I stay away from this?

Thanks!

-Kenny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: converting a file to a directory

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 13, 2006, at 20:10, Kenny Leung wrote:

> I have a file in a repository that I would like to change into a  
> directory. I figure I can do this by deleting the file, then adding  
> a directory with the same name. Is this something I can safely do,  
> or should I stay away from this?

Go right ahead; I don't see why this should be a problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: converting a file to a directory

Posted by Gavin Lambert <ga...@compacsort.com>.
Quoth Kenny Leung <ma...@pobox.com>:
> I have a file in a repository that I would like to change into a
> directory. I figure I can do this by deleting the file, then adding a
> directory with the same name. Is this something I can safely do, or
> should I stay away from this? 

Pretty sure it's safe, yep, although you might want to do the delete &
mkdir as separate commits to reduce confusion a bit.

It might cause a little weirdness if you're looking through the history,
but it shouldn't bother SVN itself.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org