monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] 'workspace' vs 'tree'


From: Thomas Keller
Subject: Re: [Monotone-devel] 'workspace' vs 'tree'
Date: Sun, 18 Jul 2010 23:07:52 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5

Am 18.07.10 11:37, schrieb Stephen Leake:
> I've always found it difficult to tell whether a command belongs in the
> "workspace" group or the "tree" group.
> 
> It would seem that all commands in the 'workspace' group should modify
> the workspace in some way, and all commands in 'tree' should not require
> a workspace.
> 
> However, that leads to the following:
> 
> 'attr' is in the 'workspace' group. In general it does not modify the
> workspace, but it requires one. I guess that's because 'attr set
> executable' does modify the workspace. That's a bit confusing,
> especially since 'mtn:execute' is not mentioned in the command-line
> help.
> 
> 
> Commands that are in 'tree', but should be in 'workspace':
> 
> 'merge_into_workspace', 'merge_into_dir', 'migrate_workspace' obviously
> require and modify a workspace.
> 
> 'refresh_inodeprints' requires a workspace, and is a cache of the
> workspace files.
> 
> 'import' creates a workspace, and is similar to 'commit'.
> 
> 'checkout' creates a workspace, and does not change the database.

I wouldn't touch nor discuss this right now, but leave that as an
additional task for the "command naming cleanup" we have on the roadmap.
Right, its not yet targeted, but if we decide to target it, I'd vote for
2.0.

Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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