Generic-user-small Curtis Hatter 2 posts

I was following the Subversion examples in chapter 2 when I ran into something that I thought wasn’t very clear.

You have the user set up a repository in file:///home/ezra/svn/{trunk,tags,branches}. Then they check out the project to ~/deployit. All the examples worked fine until I got to page 23 when discussing Capistrano and deploying from a stable branch.

The example to copy does not seem to mesh well with the earlier examples given. The command is as follows:

$ svn copy --message "Create the stable branch" file:///home/ezra/deployit/trunk file:///home/ezra/deployit/branches/stable

I tried this a few times to no avail. Then looking back at the examples, the repository is file:///home/ezra/svn not file:///home/ezra/deployit. Isn’t the latter simply a working copy and therefore the command above fails? I was able to do the example above changing it to the former though:

$ svn copy --message "Create the stable branch" file:///home/ezra/svn/trunk file:///home/ezra/svn/branches/stable

I’m new to Subversion so I apologize if I was not following the examples properly.

Thanks.

 
Colorsmoothrobotsmalltrans_small Travis Erard 1 post

Hey Curtis

I am new to the game as well, but I am pretty sure you are correct. There may be a few land mines in the Book while it’s in Beta.

It’s frustrating, but I guess we will learn faster.

Thanks

2 posts, 2 voices