I've seen in subversion tutorials that the way to add a folder to your repo is to do
mkdir foo
svn add foo
But running
svn mkdir foodoes the same thing, as far as I can tell. Is there a reason to mkdir then add instead of svn mkdir?
|
I've seen in subversion tutorials that the way to add a folder to your repo is to do
But running svn mkdir foodoes the same thing, as far as I can tell. Is there a reason to mkdir then add instead of svn mkdir?
| |||
|
feedback
|
|
The difference is that
| |||
|
feedback
|
|
There's no functional different that I'm aware of. One is simply longer to type than the other and potentially you could forget to | |||
|
feedback
|
|
Traditionally, applications that do version control don't manage file attributes. From this point "mkdir foo; svn add foo" can be more flexible in some scenarios. | |||
|
feedback
|