[wp-hackers] first time SVN user, first time adding plugin to directory

Otto otto at ottodestruct.com
Thu Jul 7 13:20:11 UTC 2011

On Thu, Jul 7, 2011 at 7:57 AM, Mike Little <wordpress at zed1.com> wrote:
> On Thu, Jul 7, 2011 at 13:41, Otto <otto at ottodestruct.com> wrote:
>> The important thing to keep in mind here is to not get all confused by
>> the terminology. Just check out the directory, then set up the files
>> in the right way, and check them in. The whole branch/tag/copy thing
>> doesn't matter. You can make copies yourself into the right
>> directories then check them in and that works fine too.
> Are you sure? If you copy a tree of files into a new directory (e.g.
> tags/1.2) then check that in, you are not going to be creating a tag,
> because a) subversion doesn't know anything about tags/1.2 unless you svn
> add it. and b) you'll have copied the hidden .svn directories which still
> point to the original path.

Well, obviously you'd have to svn add the directory, and the files in
it for that matter. You have to do that to check anything in. As for
the hidden .svn files, it's easy: you don't copy those. You copy the
files, not the directory.

Yes, it's easier to do "svn copy http://whatever/trunk
http://whatever/tags/1.1" and so forth, but that is far more confusing
for somebody just getting the hang of SVN in the first place. Teach
people how to commit files first. Later you show them the advanced


More information about the wp-hackers mailing list