[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 25 Jan 2008 17:56:51 +0100

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 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%

mkdir %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%
%SVNCLI% propset svn:externals "e %REPO%/branches/b1" ext
%SVNCLI% ci -m "set externals property"
echo a > a.txt
echo b > ext\e\a.txt
%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.


   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 17:57:13 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.