[darcs-users] Which commands can change output of darcs query contents for a particular hash?

Trent W. Buck twb at cybersource.com.au
Wed Jul 8 01:31:07 UTC 2009

Eric Kow <kowey at darcs.net> writes:

> On Mon, Jul 06, 2009 at 04:33:13 +0100, Robin Green wrote:
>> However, I know that darcs' patch theory allows patches to be
>> reordered. This could mean that the output of darcs query contents
>> "--match=hash foo" could vary over time - or have I misunderstood? Then,
>> if that's the case, which commands might potentially cause this output
>> to change? i.e. could a push into the repository cause this to happen?
> I think this can only happen with obliterate (or the variants unrecord,
> amend-record [rollback on the other hand is fine as it just creates a
> new patch]).
> Push just calls darcs apply.

And optimize --reorder, of course.

More information about the darcs-users mailing list