I am trying to verify a project that has been removed from my SVN in edition 401. The project is no longer working and has been completely replaced by code rewriting, but I would like to check so that I can return to small parts of the old code while working on rewriting.
As far as I can tell, this should be as simple as checking the old path and the last good revision (400). But when I try to do this, I get an error because it is trying to use the latest version:
C:\Users\couling\workspace>svn checkout --revision=400 https://svn.domain.com/repos/trunk/OldProject Error validating server certificate for 'https://svn.domain.com:443': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the certificate manually! Certificate information: - Hostname: svn.domain.com - Valid: from Tue, 11 Dec 2012 15:03:33 GMT until Wed, 11 Dec 2013 15:03:33 GMT - Issuer: Personal Certificate, Foomy Whatsit, Blah, Blah, GB - Fingerprint: 01:02:03:04:05:06:07:08:09:10:11:12:13:14:15:16:17:18:19:20 (R)eject, accept (t)emporarily or accept (p)ermanently? t svn: '/repos/!svn/bc/1418/trunk/OldProject' path not found C:\Users\couling\workspace>
I can easily navigate to the revision 400 folder through a web browser, so in the worst case, I can still view the code, but I would prefer to have a copy of all the source files for my IDE.
For reference, I use this client version:
C:\Users\couling\workspace>svn --version svn, version 1.6.16 (r1073529) compiled Mar 8 2011, 11:47:41 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.apache.org/ This product includes software developed by CollabNet (http://www.Collab.Net/).
How to check a folder that has been deleted?
Edit
To clear up doubts .... The checkout command above uses the syntax --revision=400 , as this was the last way I wrote the command before publishing. This is a valid syntax given that the svn command uses the GNU getopt_long compatible library. The version I'm using has the following synonym: -r 400 -r400 --revision 400 --revision=400 . Different options come down to the same getopt library result.
As it happened, the reason for the last command I used before publishing was that I went through all the options to confirm that this was not related to this problem. They all had the same result.