You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Frescard <fr...@gmail.com> on 2008/09/05 02:52:27 UTC

Updating Subfolders under Windows

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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Updating Subfolders under Windows

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
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@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Updating Subfolders under Windows

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
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@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Updating Subfolders under Windows

Posted by Matt imMute Sickler <im...@msk4.ath.cx>.
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?

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@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org