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

RE: Possible bug in svn update flow?

From: Tjernstrom, Staffan <stjernstrom_at_mail.esignal.com>
Date: 2006-07-26 22:56:41 CEST

Good Folks,

 

It looks as if the below scenario may be limited to the Windows client.

 

I've done testing using our current client, identified as version 1.3.1 (r19032), against 2 linux svnserve builds (1.3.0 and 1.3.1). Both show the same (faulty imo) behaviour indicated below where svn update <file> fails to recreate the file.

 

However, accessing the same repositories from a v1.3.0 (r17949) linux client gives the expected "Restored 'CspExchangeContext.cpp" response for both the 1.3.0 and 1.3.1 linux server.

Rgds

Staffan Tj.

Staffan Tjernström | Sr. Programmer - Market Data Systems | www.esignal.com <http://www.esignal.com>
eSignal, a division of Interactive Data Corporation (NYSE: IDC)
3955 Point Eden Way | Hayward, CA 94545-3720 | 510.723.1723 | FAX: 510.266.6100

  

________________________________

From: Tjernstrom, Staffan [mailto:stjernstrom@mail.esignal.com]
Sent: Wednesday, 26 July, 2006 08:23
To: users@subversion.tigris.org
Subject: Possible bug in svn update flow?

 

Folks,

From the following flow (which doesn't show the immediately preceding start in empty dir, svn co of HEAD), it would appear that svn checkout on a single file may not actually physically create the file, not does the svn revert do what I (mayhaps naievely) believe it should have done under the scenario?

D:\cspesignal>del cspexchangecontext.cpp

D:\cspesignal>svn update cspexchangecontext.cpp

At revision 282.

D:\cspesignal>del cspexchangecontext.cpp

Could Not Find D:\cspesignal\cspexchangecontext.cpp

D:\cspesignal>svn revert

revert: Restore pristine working copy file (undo most local edits).

usage: revert PATH...

  Note: this subcommand does not require network access, and resolves

  any conflicted states. However, it does not restore removed directories.

Valid options:

  --targets arg : pass contents of file ARG as additional args

  -R [--recursive] : descend recursively

  -q [--quiet] : print as little as possible

  --config-dir arg : read user configuration files from directory ARG

 

D:\cspesignal>svn revert .

D:\cspesignal>del cspexchangecontext.cpp

Could Not Find D:\cspesignal\cspexchangecontext.cpp

D:\cspesignal>svn update

Restored 'CspExchangeContext.cpp'

Fetching external item into 'Imdb_Includes'

External at revision 167.

At revision 282.

D:\cspesignal>dir cspexchangecontext.cpp

 Volume in drive D is DATA

 Volume Serial Number is F34C-8AC2

 Directory of D:\cspesignal

2006-07-26 08:09 64,150 CspExchangeContext.cpp

               1 File(s) 64,150 bytes

               0 Dir(s) 18,455,719,936 bytes free

D:\cspesignal>

 

Rgds

Staffan Tj.

Staffan Tjernström | Sr. Programmer - Market Data Systems | www.esignal.com <http://www.esignal.com>
eSignal, a division of Interactive Data Corporation (NYSE: IDC)
3955 Point Eden Way | Hayward, CA 94545-3720 | 510.723.1723 | FAX: 510.266.6100

 

________________________________

DISCLAIMER: This message (including any files transmitted with it) may contain confidential and / or proprietary information, is the property of Interactive Data Corporation and / or its subsidiaries and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution or use of this message, or any attachments, is prohibited and may be unlawful.

DISCLAIMER: This message (including any files transmitted with it) may contain confidential and / or proprietary information, is the property of Interactive Data Corporation and / or its subsidiaries and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution or use of this message, or any attachments, is prohibited and may be unlawful.
Received on Wed Jul 26 22:58:10 2006

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.