logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Re: write access to my public server (was Re: [PATCH] add xemacs ...): msg#00152

Subject: Re: Re: write access to my public server (was Re: [PATCH] add xemacs ...)
graydon hoare wrote:
unfortunately revert already takes filenames as an argument. it might make sense to make a manifest and file variant of revert. njs has proposed that maybe commands should just get an 'f' or 'm' prefix, i.e. mrevert or frevert, mlog or flog, mdiff or fdiff. what do you think about that convention?

I've been wondering whether commands like cat and complete really need a file/manifest type at all. Presumably the version codes are unique and only live as either a file or a manifest. What about this:

$ monotone complete 5d
5d2e96646f7be38c0aceacf9331ab687e8130f93 (manifest)
$ monotone complete 45
45229a1c4745275390cee1a1a60433db5e82578e (file)

Where monotone tells the user what type of object the manifest id refers to?

As far as f... and m... command variants go, I think I'd favour a smaller number of commands with some options. Perhaps monotone diff -f for files and monotone diff -m for manifests would be good in cases where the above idea doesn't work.

--
Cheers,
Derek



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>