FW: Possible bug in svn update flow? - possibly the same as Issue 2269?
From: Tjernstrom, Staffan <stjernstrom_at_mail.esignal.com>
Date: 2006-07-31 17:46:29 CEST
Apologies for posing this thread here unannounced, but no response has been seen on users since it was originally posted on the 25th, and I believe it may contain information pertinent to bug #2269?
Rgds
Staffan Tj.
Staffan Tjernström | Sr. Programmer - Market Data Systems | www.esignal.com <http://www.esignal.com>
________________________________
From: Tjernstrom, Staffan
Also checked against a local file repository under Windows, and that works too.
Does anyone have any feel for if this is another flavour of issue 2269?
Rgds
Staffan Tj.
Staffan Tjernström | Sr. Programmer - Market Data Systems | www.esignal.com <http://www.esignal.com>
________________________________
From: Tjernstrom, Staffan
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>
________________________________
From: Tjernstrom, Staffan [mailto:stjernstrom@mail.esignal.com]
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>
________________________________
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.
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.