Writing a new RevisionSpec

James Westby jw+debian at jameswestby.net
Wed Apr 2 19:23:31 BST 2008


On Wed, 2008-04-02 at 19:05 +0200, Gioele Barabucci wrote:
> Hello,
> 
> I'm trying to write a new RevisionSpec but I cannot understand how to get
> certain information from the context _merge_on() is called from.
> 
> 1) If I call "bzr log -r my_spec foo/bar", how can i get "foo/bar" from
> _merge_on()?
> 2) How can I tell bzr that my RevisionSpec works only when no file or a
> single file is specified?
> 3) What is the purpose of the second _merge_on parameter "revs"?
> 4) Where does the name _merge_on() come from?

I believe that you have to make it

  bzr log -r my_spec:foo/bar

see, for example "revid:" for taking a parameter to act on.

Thanks,

James





More information about the bazaar mailing list