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

Re: Commit failing on nightly build

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Fri, 25 Jan 2008 11:10:07 -0600

Hmm, I'm not sure what I can do to help you reproduce the issue. The server
is not running a beta server, it's running an actual release of SVN (not
sure if this is relevant). Please let me know what I can do to help. Should
I create a test repository and give you access Stefan?

On Jan 25, 2008 10:56 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> Robert Dailey wrote:
> > Hi,
> >
> > I'm currently using the latest nightly build of TortoiseSVN as of today.
> >
> > Currently I have a working copy that, at some nested level down the
> > directory tree, has an external link to a different location in the same
> > repository as the working copy links to. When I have modifications in
> > both the parts of my working copy that are not externally linked AND
> > also in the parts that are externally linked, any attempt to commit
> > yields the following output in the commit dialog:
> >
> > *Command: Commit
> > Error: Are all the targets part of the same working copy?
> > Error: Unable to lock 'C:\IT\personal\rocket_test\engine\boblib\input'
> > Error: Please execute the "Cleanup" command.
> > Finished!: *
> >
> > I remember in TortoiseSVN 1.4.5 this never used to happen. I was always
> > able to commit external link files and working copy files simultaneously
> > through one commit. Am I doing something wrong? Any help is greatly
> > appreciated. Thanks in advance!
>
> I can't reproduce this. Here's my test script:
>
> ::@echo off
> set ROOT=D:\Development\SVN\SVNTests
> set REPOROOT=D:/Development/SVN/SVNTests
> set REPONAME=extrepo
> set WCNAME=extwc
> set REPO=file:///%REPOROOT%/%REPONAME%
> set WC=%ROOT%/%WCNAME%
>
> set SVNCLI=D:\Development\SVN\TortoiseSVN\bin\debug\bin\svn.exe
> set SVNADM=D:\Development\SVN\TortoiseSVN\bin\debug\bin\svnadmin.exe
>
> cd %ROOT%
> if exist %REPONAME% rd /s /q %REPONAME%
> if exist %WCNAME% rd /s /q %WCNAME%
>
> %SVNADM% create %REPONAME%
> mkdir %WCNAME%
> cd %WCNAME%
> mkdir trunk branches
> copy nul trunk\a.txt
> mkdir trunk\ext
> %SVNCLI% import . %REPO% -m "importing project"
> cd ..
> rmdir /s /q %WCNAME%
> %SVNCLI% cp %REPO%/trunk %REPO%/branches/b1 -m "branching"
> %SVNCLI% co %REPO%/trunk %WC%
> cd %WCNAME%
> %SVNCLI% propset svn:externals "e %REPO%/branches/b1" ext
> %SVNCLI% ci -m "set externals property"
> %SVNCLI% up
> echo a > a.txt
> echo b > ext\e\a.txt
> pause
> %SVNCLI% ci a.txt ext\e\a.txt -N -m "committing with externals"
>
> cd ..
>
>
> Note that at the 'pause' command, I'm using TSVN to do the commit, and
> it succeeds without any problems. And the 'svn' commit also succeeds.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>
Received on 2008-01-25 18:10:21 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.