Suffering from CVS mindset

Masklinn masklinn at masklinn.net
Sun Apr 11 03:45:50 CDT 2010


On 11 Apr 2010, at 01:45 , Harry Putnam wrote:
> Masklinn <masklinn at masklinn.net> writes:
> 
>>> The trial hg repo I'm working with covers a `projects' area where the
>>> structure is along the lines of a directory with shell script
>>> experiments, another with perl script experiments, backup
>>> experimentation.
>>> 
>> That doesn't sound like it should be a single repository.
>> 
>> Repositories are cheap in mercurial, you should create one for each
>> of your experiments, setup a global ~/.hgignore for files you have
>> to ignore all the time and you're done.
> 
> That sounds likes a way too much overhead. Dinking around with a dozen
> or so repos.  If that is how mercurial is intended to work.. I
> probably am trying to use the wrong tool.
Mercurial will work however you want it to, but I find out that creating
many repository is trivial enough and helps keeping things simple and 
in context.

> I had visions of working freely on whatever tests etc and every few
> days making some commits or otherwise cleaning up.  Doing that in a
> dozen different places sounds like a full time mercurial admin doing
> nothing else.
Once again, you've lost me. You do a bit of cleanup in a test, you
commit the change. What's the overhead? Or the administration? It takes
less time to commit the change than to even open the file(s) you just
cleaned.




More information about the Mercurial mailing list