[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Problem replacing directories

From: Schellingerhout, Nico <nico.schellingerhout_at_philips.com>
Date: Fri, 21 Nov 2008 11:14:36 +0100

Hi Daniel,

Thanks for your suggestion. However, at first glance, it looks like svnmucc works directly on the repo, and not on the working copy? In that case, it wouldn't help much, unfortunately. I am looking for similar functionality in the working copy.

Thanks,

Nico

> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: 2008 Nov 18 9:41 PM
> To: Schellingerhout, Nico
> Cc: users_at_subversion.tigris.org
> Subject: Re: Problem replacing directories
>
> Schellingerhout, Nico wrote on Mon, 17 Nov 2008 at 01:26 +0100:
> > Hi,
> >
> > I am trying to replace a directory in a newly-copied directory:
> >
> > Starting with the following structure:
> > dir1
> > dir1/dir2
> > dir3
> >
> > I want to replace create a new copy of dir1, with dir2 replaced by (a
> copy of) dir3:
> >
> > $ svn cp dir1 dir1a
> > A dir1a
> >
> > $ svn del dir1a/dir2
> > D dir1a\dir2
> >
> > $ svn cp dir3 dir1a/dir2
> > svn: Cannot copy to 'dir1a\dir2' as it is scheduled for deletion
> >
> > I have tried many work-arounds, but the only thing that actually
> seems
> > to work is hacking the entries file in the .svn directory before
> > performing the last command (deleting the entry for dir1a/dir2). Now,
> > surely, this is not the way to do this. Is there a supported way of
> > doing this? (There is another workaround: do a commit before the last
>
> Try svnmucc.
>
> Daniel
>
> > copy. After the commit, the final copy _does_ work; however, that is
> > an undesirable workaround.)
> >
> > My system:
> >
> > Windows XP, with a 1.5.2 client:
> >
> > $ svn --version
> > svn, version 1.5.2 (r32768)
> > compiled Aug 28 2008, 19:05:34
> >
> > Copyright (C) 2000-2008 CollabNet.
> > Subversion is open source software, see http://subversion.tigris.org/
> > This product includes software developed by CollabNet
> (http://www.Collab.Net/).
> >
> > The following repository access (RA) modules are available:
> >
> > * ra_neon : Module for accessing a repository via WebDAV protocol
> using Neon.
> > - handles 'http' scheme
> > - handles 'https' scheme
> > * ra_svn : Module for accessing a repository using the svn network
> protocol.
> > - with Cyrus SASL authentication
> > - handles 'svn' scheme
> > * ra_local : Module for accessing a repository on local disk.
> > - handles 'file' scheme
> >
> > Any thoughts on this?
> >
> > Best regards,
> >
> > Nico
> >
> > ________________________________
> > The information contained in this message may be confidential and
> legally protected under applicable law. The message is intended solely
> for the addressee(s). If you are not the intended recipient, you are
> hereby notified that any use, forwarding, dissemination, or
> reproduction of this message is strictly prohibited and may be
> unlawful. If you are not the intended recipient, please contact the
> sender by return e-mail and destroy all copies of the original message.
> >

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-21 16:24:03 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.