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

RE: [TSVN] [BUG] Problem with detection of changes in svn:externa ls included folders

From: Scott Hughes <Scott.Hughes_at_dalsemi.com>
Date: 2004-12-01 15:27:36 CET


> Maybe that's the reason? Are your externals located in the same
> repository (just a different path) as the rest of your working copy?

Actually, in my original problem, I may have used just the top-level
hostname in the externals reference, but I did the checkout on the
fully-qualified name. I don't know if this will make a difference.. But it
was, technically, in the same repository.

> Hmm - not committed. That shouldn't happen.
> Can you tell me the URL of your wc and the URL of the externals (where
> they point to)?

Here's the exact commands I did to setup the repo with an external folder
reference. After executing this, I did a commit from the top level of the
WC and I could see the one file listed as modified. After clicking OK, I
get an empty dialog with title "Commit.. Finished". The original problem I
had I was using TSVN exclusively on an apache-hosted repository. I
reproduced a simple repo from the cygwin prompt. As you can see at the end,
svn does not commit the external and is silent about it. TSVN behaves the
same way, but the commit dialog leads me to believe that it wouldn't:

$ svnadmin --fs-type fsfs create repo

$ svn co file:///cygdrive/c/temp/build/repo repowc
Checked out revision 0.

$ cd repowc

$ svn mkdir test1
A test1

$ svn mkdir test2
A test2

$ cat > test1/readme.txt
this is original text

$ svn add test1/readme.txt
A test1/readme.txt

$ svn commit . -m "testing"
Adding test1
Adding test1/readme.txt
Adding test2
Transmitting file data .
Committed revision 1.

$ svn propset svn:externals "tst file:///cygdrive/c/temp/build/repo/test1"
property 'svn:externals' set on 'test2'

$ svn commit . -m "set property"
Sending test2

Committed revision 2.

$ svn up

Fetching external item into 'test2/tst'
A test2/tst/readme.txt
Updated external to revision 2.

Updated to revision 2.

$ cat test2/tst/readme.txt
this is original text

$ cat > test2/tst/readme.txt
this is new text

$ svn status
X test2/tst

Performing status on external item at 'test2/tst'
M test2/tst/readme.txt

$ svn commit . -m "updated text in externals"

$ svn status
X test2/tst

Performing status on external item at 'test2/tst'
M test2/tst/readme.txt

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Dec 1 15:29:49 2004

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

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