On 01/08/2013 12:11 PM, Leonard Wayne wrote:
Hello.
I read the Subversion documentation (in
particular the "Peg and Operative Revisions"
section) for how to handle versioning of
directories with names that contain the "@"
symbol. But I am still confused by something.
I want to use the "import" command to import a
tree that includes subdirectories with names
that contain the "@" symbol. For example I
would like to do the following (using the
Windows syntax):
svn import c:\myPath\myDirTree file:///c:/svn/repo/myProject -m "Initial
import."
This will work. The only issue with @ is when it appears in a command
line. Anytime you reference one of the directories with a @ in its
name, then you'll need to append a @ at the end.
The directory tree "myDirTree" contains
subdirectories with names that contain the "@"
symbol.
The command executes without reporting any
problems.
But is it OK to use this command? Or instead
of using the "import" command should I instead
do a bunch of "add" commands and use the
workaround discussed in the "Peg and Operative
Revisions" section of the manual (append "@"
at the end of the path)?
No, just use import.
BTW, I don't like import for a different reason is that there's no
forgiveness for errors, say if you've left a file in the directory you
don't want to import. I like to do a recursive add instead for that reason.
Regards,
Blair