[GRASS-dev] Do we need general/g.region/cmd?

Glynn Clements glynn at gclements.plus.com
Wed Oct 25 01:40:25 EDT 2006


Markus Neteler wrote:

> > > Since the interactive g.region has been removed from GRASS 6,
> > > general/g.region has only Makefile and cmd directory.  Do we need to
> > > keep this redundant directory?
> > 
> > I suggest not.
> > 
> > The only reason to keep the directory is to preserve CVS history. To
> > "move" files in CVS, you remove the old file and add the file in its
> > new location. The new file starts at version 1.1, with no history. You
> > can still get the history for the original file, but that has to be
> > done separately, and you have to know the old name (it's a good idea
> > to add this information in the commit message for the new file).
> > 
> > You can move files within the repository, but that breaks checking out
> > older versions, as CVS will think that the file has always been at its
> > new location.
> 
> Could an internal link in the CVS help to solve this issue?
> Ugly, but here we only speak about ../

A link would make CVS think that it has always been in both locations.

The interruption to the history caused by remove+add is almost always
the least bad option.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list