gunspirits / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

Can't check out revision zero. #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new repository
2. Add it to the list of repositories in svnX
3. Open the new repository (error popup)
4. Click "svn checkout" (error popup)

What is the expected output? What do you see instead?
There should be a revision zero (r0) in the list of revisions. Instead, the 
list is empty and an error 
popup appears: "svn: No such revision 1". When you click on svn export, the 
message "Please 
select exactly one folder to checkout" appears. There is no way to checkout 
revision zero (r0) 
without using the command line.

What version of the product are you using? On what operating system?
I am using svnX 0.9.13 on MacOS 10.5.8

Please provide any additional information below.
It seems that svnX is assuming that revision numbers start at 1 when they 
really start at zero. 
Because of this, it is not possible to checkout revision zero through svnX.

Original issue reported on code.google.com by hellolin...@gmail.com on 16 Feb 2010 at 6:10

GoogleCodeExporter commented 8 years ago
Revision 0 is not a 'proper' revision.
It has no files or folders, no message, author or date.
If you check it out (`svn checkout`) the only thing you can do is `svn update` 
it which pulls in the entire repository.  For that reason many public 
repositories won't let you do this.
Use the 'Make Dir' repository command first.
[Since svnX 1.2 you may browse an empty repository without receiving error 
messages.]

Original comment by chris...@gmail.com on 16 Sep 2010 at 12:47

GoogleCodeExporter commented 8 years ago
By ignoring this issue, you are making users leave the application to use 
mkdir. Proper revision or not, the svn command line tool can check out r0 and, 
from a usability point of view, and it make sense to allow for this workflow:

1. Create a new repository
2. Check out the empty folder (r0) for that new repository (not currently 
possible)
3. Create your first file in the checked working copy
4. Commit the first file as revision 1

Original comment by hellolin...@gmail.com on 16 Sep 2010 at 1:25

GoogleCodeExporter commented 8 years ago
The 'Make Dir' repository command is part of svnX.
(But, you have to leave svnX to create an empty repo, anyway.)
It's bad practice to create files directly in the root of the repository.
I've never seen revision 0 listed by other svn tools/interfaces.

Original comment by chris...@gmail.com on 16 Sep 2010 at 2:22