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

Re: Visual Studio build fails because .svn\wc.db is open

From: Steve Yates <steve_at_teamITS.com>
Date: Fri, 10 Feb 2012 09:25:18 -0600

On Feb 10, 2012, at 2:30 AM, "Ulrich Eckhardt" <ulrich.eckhardt_at_dominolaser.com> wrote:

> Am 10.02.2012 01:15, schrieb Steve Yates:
>> For a variety of reasons the intent is for me to commit only compiled
>> code to a repository. I admit I am a relative newbie to using a
>> repository and TortoiseSVN.
>
> This is typically an advanced user's choice to commit binaries... you
> might want to discuss the reasons behind that.

Our client is operating some web sites for their client, who hosts the web servers. The third party wants the repository to push code to the live sites but our client doesn't want to give them the source. Odd, I know.

>> What I have done so far is:
>>
>> - Create a directory in my repository under /branches (as I was
>> directed)
>> - Checkout the empty branch to my populated build
>> directory
>> - SVN Commit the directory to the repository (which
>> uploaded all the files)
>
> In between you also "svn add"ed some files, otherwise there wouldn't
> have been anything to upload.

The Commit will start with an Add if the repository folder is empty.

>
> SVN 1.7 only create a single .svn dir in the root of a working copy
> (older SVNs did so in every versioned subdir!). If you now check out the
> parent folder instead of the one where your working copy currently
> begins, there won't be a .svn dir in the place where it currently causes
> problems.
>
>
>> Is there a better way to accomplish this?
>
> You might want to take a look at svn_load_dirs. This tool syncs a folder
> inside a repository with the state of a folder on disk. This would also
> take care of adding and deleting files automatically, which is
> reasonable when the files were already generated automatically.
>

Ok thanks I will look into that. I didnt know i could start at a higher level. Can I just do one folder then? (VS with the web deployment add on puts all builds under the same parent directory.

Really I just need a basic one way sync. :)

I played some last night with copying to a second folder and syncing that which seems to work ok too.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2920668

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-10 16:25:25 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.