[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Howto?

From: Rob Helmer
Subject: Re: Howto?
Date: Thu, 14 Aug 2003 11:05:32 -0700
User-agent: Mutt/1.3.28i


On Thu, Aug 14, 2003 at 04:11:01PM +0300, Stephen Biggs wrote:
> 1. Rename a module in the repository? Is it even possible? That way, the
> next time somebody checks out the entire module, the directory name will
> have the change?

I usually do this :

1) copy the module in the repository to the new name
2) checkout the old repository, recursively remove everything

That way, anyone doing an update on an old checkout won't just get
weird errors, everything will start being removed (which is consistent
with reality). However, they can still pull old versions that were in
that repository.

> 2. If I checkout a module from one repository, say from the Internet,
> and then import it into a second repository, say my local one, is there
> an easy and correct way to make sure that the local copy is also updated
> by the changes in the remote repository?  That is, I want to do an
> update from the remote repository in my local directory and then be able
> to merge and commit those changes to my local repository?

Not easy or correct.. :) You could look at CVSup, or Rsync if you want
to have a master/slave-style mirror relationship. However, if these are
supposed to both be active repositories with independant checkins, I
think you'd have to script something up on your own to merge them.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]