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

Re: Updating Subfolders under Windows

From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Mon, 08 Sep 2008 10:19:31 +0100

Matt imMute Sickler wrote:
> What you are seeing is the correct behavior. This is called "Mixed
> Revision Working Copies" If I remember correctly.
> What this means is that the repository is on r1000 but main/sub1 hasn't
> been committed to since r900
> likewise with main/sub2/sub2a not being committed since r666
>
> Make sense?
>
Not quite - as I understand it "mixed revisions" refers to the base
revisions being mixed, not the last-commit revision. In the example
given, all ojbects have the same base revision (1000) - this allows both
the user and the SVN client to determine that all objects are
effectively in sync - you couldn't possibly tell that by going off last
commit revs.

http://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.basic.in-action.revs

"svn info" shows both the base rev (simply as "revision") and the last
commit rev. So does TSVN, under the "Subversion" tab in the file
properties dialog from explorer.

> Frescard wrote:
>> So far I've been using TortoiseSVN, and I just installed Subversion (V
>> 1.5.2) to automate some jobs via batch files.
>>
>> Everything works ok, but there seems to be a problem updating subfolders.
>>
>> When I look at the log files of a subfolder I get the correct revision
>> number.
>> When I try to update this folder though, it gives me the revision
>> number of
>> the mother folder.
>> The effect is the same if I first change directory to the respective
>> path,
>> and then issue a simple "svn update", or whether I supply a path with the
>> update command.
>>
>> Here is an example.
>> No matter which folder I'm in (sub1,sub2,sub2a or sub3) I will always get
>> the message "At revision 1000" when doing a "svn update".
>> If I do a "svn log" I will get the correct revisions for the specific
>> folders though.
>>
>>
>> main (rev. 1000)
>> |--- sub1 (rev. 900)
>> |--- sub2 (rev. 700)
>> |--- sub2a (rev. 666)
>> |--- sub3 (rev. 800)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-08 11:20:39 CEST

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

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