monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] mtn automate evolution


From: Christof Petig
Subject: Re: [Monotone-devel] mtn automate evolution
Date: Tue, 19 Dec 2006 15:02:19 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061115)

Thomas Keller schrieb:
>> put_file [base-id] contents
>> put_revision changeset
> 
> What is put_revision's format? Is this something which could be
> tweaked/used to let monotone understand its own diff format (the header
> of that is a changeset, I believe)?

I wanted to implement it least invasive first. So I took a single
changeset part of a roster as an argument. Using a full revision would
be more logical (and enable workspace-less merge via automate (wow)) but
that needed some changes to roster.cc (accept rosters with empty
manifests) that I postponed at that time.

The syntax is:

old_revision [8554e217578434ee61e29ad4bcb64ddc0a36b180]

patch "ChangeLog"
 from [3314f629601d224b423bd9f47d5d5d28a820fc9d]
   to [7abf47b0e389ea6386c4ec83d385232dc5b2a4cb]
[...]

which is just one middle part of a full roster:

format_version "1"

new_manifest [c0703cc3eaf162767fc7e3f7c4e8d0fb0af252db]

old_revision [8554e217578434ee61e29ad4bcb64ddc0a36b180]

patch "ChangeLog"
 from [3314f629601d224b423bd9f47d5d5d28a820fc9d]
   to [7abf47b0e389ea6386c4ec83d385232dc5b2a4cb]

[...]

patch "tests/import/__driver__.lua"
 from [ef5c31f1013a6d102e7a9a3d783537f5c4d414f2]
   to [5d260317de7f59c7cf7e03c7d872af83ee2cb806]

old_revision [a83d2886dae2e37f527d2624286347776d4b8421]

add_file "tests/commit_using__MTN_log/commit_log_modified_return.lua"
 content [a9af6de4500c2fddab1853eebc185a055156f8cd]

[...]

   Christof


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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