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

Possible bug in svn update flow?

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

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
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.
Received on Wed Jul 26 17:24:53 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.