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

RE: Issue with "Fetch HEAD revision and adjust to it" context menu on externals screen.

From: Erwann PENET <epenet_at_infinityccs.com>
Date: Mon, 5 Oct 2015 07:34:17 +0000

> -----Message d'origine-----
> De : Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Envoyé : vendredi 2 octobre 2015 21:41
>
> with this script, the log will only show the add, not the copy.
>
> Stefan

Hi Stefan,

My example was slightly different, and I've amended your script slightly to reflect this (see below).
"branches/b1" is your example, "branches/b2" is my situation.
  - In the case of branches/b1/extfile.txt, then it should return revision 2 (correct in r26806, but r26841 returns revision 6)
  - In the case of branches/b2/extfile.txt, then it should return revision 5 (r26806 returns 2, r26841 returns revision 6)

Erwann

-------------

svnadmin create repo
svn checkout "file:///%CD%/repo" wc
pushd wc

mkdir branches
mkdir trunk
svn add trunk
svn add branches
svn ci . -m ""

echo "File 1" > trunk\file1.txt
svn add trunk\file1.txt
svn ci . -m ""

svn cp trunk branches/b1
svn ci . -m ""
svn up

svn propset svn:externals "../../trunk/file1.txt extfile.txt" branches/b1
svn ci . -m ""
svn up

svn cp trunk branches/b2
svn ci . -m ""
svn up

svn propset svn:externals "../b2/file1.txt extfile.txt" branches/b2
svn ci . -m ""
svn up

svn log -v branches/b1/extfile.txt
svn log -v branches/b2/extfile.txt
popd

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-10-05 09:34:28 CEST

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