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

Re: svn:external warning when doing commit

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2007-03-12 22:43:47 CET

Stefan Küng wrote:
> Simon Allen wrote:
>> Hi sorry to bother the list,
>> I'm not sure if this is a bug or whether I've just misunderstood the
>> meaning of the warning.
>>
>> Setup :
>> Mixed development environment Linux/Windows XP.
>> For the purpose of this report (ie how to recreate the issue) there
>> are two machines.
>> Machine #1 running XP and latest Tortoise.
>> Machine #2 running Linux, SVN server and Samba server.
>>
>> On machine 2 (Linux) using command line tools :
>> Check out the repository to empty directory.
>> Go in and create an arbitrary new directory (mkdir)
>> Create a file in that directory (names and extensions don't seem to
>> affect the issue).
>> svn add newdir
>> The new directory (and recursively the file) get added.
>>
>> On machine 1
>> svn commit using tortoise.
>
> You must never do that! A working copy is *local* and can't be shared
> between two different OS. You'll get a whole lot of problems that way
> (the most obvious one: a file with the svn:eol-style set to 'native').
>
> That's also why you get the (I admit not so good) warning message.

That is true, but I have also seen this the same sort of environment and
using only TSVN to do the subversion work (no Linux svn tools used).

I had a Samba share on a Linux server open in explorer using UNC
filenames, eg. \\Debian\Projects\Proj1

Use TSVN to checkout a working copy. Edit using Windows editor, compile
in a Putty session on Linux, commit using TSVN.

In some cases when I added a folder I found that the folder content was
shown as added in the commit dialog, but not the folder itself, and that
Externals warning was also shown. Interestingly, the CfM dialog got the
list correct. I thought they used the same logic?

The problem was intermittent, probably something to do with Samba, and I
found a workaround so I never bothered to report it.

BTW, the workaround for me was to use a mapped drive letter rather than
a UNC path. Don't know why it works, but it does.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Mar 12 22:43:49 2007

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.