[cse491] svn copy creating unwanted subdirs

C. Titus Brown ctb at msu.edu
Mon Sep 21 16:18:38 PDT 2009


On Mon, Sep 21, 2009 at 07:04:44PM -0400, Tim Miller wrote:
> yes, copy would not work otherwise.
> 
> On Mon, Sep 21, 2009 at 6:48 PM, Joe Amenta <amentajo at msu.edu> wrote:
> > Are you using the full http:// URLs for the "svn copy" command?
> >
> > --Joe
> >
> > On Mon, Sep 21, 2009 at 6:39 PM, Tim Miller <mille449 at msu.edu> wrote:
> >>
> >> Titus,
> >>
> >> When I use svn copy as you specified in the lab it will always create
> >> a new directory. So if I copy from hw2 to trunk, it adds a hw2
> >> directory inside of trunk.  Likewise, if I copy from trunk to hw2, it
> >> creates an extra trunk directory in hw2.  The only exception to this
> >> is when no destination directory exists, then it will create one
> >> correctly.
> >>
> >> Is there any way around this?  I don't want to keep deleting the
> >> destination dir before every svn copy.

Why does the destination copy exist before you do the svn copy?  You
shouldn't need to 'tag' the HW more than once...

if you do tag hw2 and then need to make changes, make them in trunk
and just copy (not svn copy) the HW over & commit in both hw2 and trunk.

cheers,
--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list