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

Re: svn update by version not updating correctly

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Thu, 2 Jun 2011 09:25:19 +1000

On Thu, Jun 2, 2011 at 8:51 AM, Norman Morse <nmorse_at_perforce.com> wrote:

> I have a subversion repository with these log entries:
>
> & svn log --verbose -r 2431:2433
> ------------------------------------------------------------------------
> r2431 | cchan | 2007-08-25 08:11:43 -0700 (Sat, 25 Aug 2007) | 1 line
> Changed paths:
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClient/Service/HTTPServiceLocator.cs
>
> CC - PGPS - Fix TestBench build error. HACK ConfigurationManager into
> HTTPServiceLocator.
>
> ------------------------------------------------------------------------
> r2433 | cchan | 2007-08-26 12:30:24 -0700 (Sun, 26 Aug 2007) | 1 line
> Changed paths:
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClient/PGPSClient.csproj
> D
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClient/Util
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/GUI/PGPSClientForm.cs
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/GUI/PGPSClient_PerfTest.cs
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/GUI/ServiceManagementForm.cs
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/OrbitPropagationLayerTask.cs
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/PGPSClientUI.csproj
> M
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/ServiceLayerTask.cs
> A
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/Util
> A
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/Util/Patterns
> A
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/Util/Patterns/Observer
> A
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/Util/Patterns/Observer/IObservable.cs
> A
> /rxnetworks/apps/gpstream/pgps/PGPSClient_WinMobile/trunk/PGPSClientUI/Util/Patterns/Observer/IObserver.cs
>
> CC - PGPS - Moved Observer pattern from PGPSClient to PGPSClientUI
> ------------------------------------------------------------------------
>
> When I try to step through these revisions using update I get:
>
> & svn update --set-depth infinity -r 2432
> U PGPSClient.csproj
> A Util
> A Util/Patterns
> A Util/Patterns/Observer
> A Util/Patterns/Observer/IObservable.cs
> A Util/Patterns/Observer/IObserver.cs
> A Util/RXNSyntheticData.cs
> A Util/RXNStateVectorData.cs
> A Util/SvnToPrnMap.cs
> A Util/DateTimeUtil.cs
>
> & svn update --set-depth infinity -r 2433
> D Util
> Updated to revision 2433.
>
> Why are all the other adds in 2433 ignored?
> Since Util is added back in after the delete, I would think that Util and
> it's children Added
> in this step would be restored, but I only get an empty directory.
>

I'm guessing it's because you're running the 'svn update' from within the
'PGPSClient' folder, whereas all the "A"dd actions happened on the
PGPSClientUI folder (it's sibling).

Cheers,
Daniel B.
Received on 2011-06-02 01:26:12 CEST

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