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

Re: Importing a tree

From: Dale J. Chatham <dale_at_chatham.org>
Date: Wed, 07 Jan 2009 18:41:58 -0600

Understood. Trouble is, one can only check out a directory and there
are 1,000+ files in one directory and 5,000+ files in the other. It
would be nice to be able to do an end run around the "supposed to do it"
way.

Ryan Schmidt wrote:
>
> On Jan 7, 2009, at 13:11, Dale J. Chatham wrote:
>
>> Dale J. Chatham wrote:
>>
>>> So, the question is, given the tree, can I traverse the tree, checking
>>> (from essentially a command line) for each file/directory so I will
>>> know whether to add or import the file/directory.
>>>
>>> There are literally thousands of files, so checking everything out,
>>> then creating the files isn't something I want to do.
>>
>> It appears that the way to do this is to first check out the directories
>> I'll be working with.
>>
>> Then, as I create files, check to see if it already exists. If it does,
>> just write. If not, write the file, then an svn add.
>>
>> At the end of the process, check the whole mess in.
>
> Sounds like a good plan to me! :)
>
> That's how you're really meant to make changes to a repository: check
> out a working copy, make your changes, then commit them.
>
>

-- 
A democracy cannot exist as a permanent form of government. It can only exist until the voters discover that they can vote themselves largesse from the public treasury. From that moment on, the majority always votes for the candidates promising the most benefits from the public treasury with the result that a democracy always collapses over loose fiscal policy, always followed by a dictatorship. The average age of the world's greatest civilizations has been 200 years.
Great nations rise and fall. The people go from bondage to spiritual truth, to great courage, from courage to liberty, from liberty to abundance, from abundance to selfishness, from selfishness to complacency, from complacency to apathy, from apathy to dependence, from dependence back again to bondage.
-- Alexander Tytler
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1010704
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-08 13:58:54 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.