On Feb 28, 2011, at 13:55, Les Mikesell wrote:
> On 2/28/2011 1:29 PM, Ryan Schmidt wrote:
>>
>> On Feb 28, 2011, at 13:25, Cecil Westerhof wrote:
>>
>>> I just put my bin folder in subversion. I am a new user, so maybe I do
>>> not do things in the right way. So I would like to know if there is a
>>> better way to do things.
>>>
>>> I moved my bin folder to bin.old.
>>> I created a bin folder in my repository.
>>> I did a checkout of the bin folder.
>>> I moved the files from bin.old to bin.
>>> I removed bin.old.
>>> I did a svn add.
>>> I did a svn commit.
>>>
>>> This are quit a few steps. Is there a better way to do this?
>>
>> You can do an in-place import:
>>
>> http://subversion.apache.org/faq.html#in-place-import
>
> Or even easier, just import the top level directory, delete the original, and check the whole thing back out (or rename the original until you are sure it worked). The in-place approach is for things where you don't want to delete/move the originals at all.
Multiple ways the cat can be skinned, but in-place import is for anytime you want to import the contents of an unversioned directory and turn that directory into a working copy, which is what he wanted to do.
Received on 2011-02-28 22:31:32 CET