[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Undo a commit
From: |
Thomas Keller |
Subject: |
Re: [Monotone-devel] Re: Undo a commit |
Date: |
Sun, 12 Oct 2008 12:49:03 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Brian May schrieb:
> Thomas Keller wrote:
>> I'd do it "safely" without messing around with _MTN/revision and move
>> the current changes aside to re-apply them later on:
>>
>> $ mtn diff > current_changes.txt
>> $ mtn revert .
>> $ mtn db kill_rev_locally dcfbf59823cf21e292b60ba8f8463f65ea383597
>> $ patch -p0 < current_changes.txt
>>
> Unfortunately it won't work if you have renamed files, for example.
Yeah, I know, I know. The same goes out for attributes. But as I said
earlier, I really would like to have an mtn patch command, which would
solve these issues. Still, the proposed workflow works reasonable well
for small changes in existing files.
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
signature.asc
Description: OpenPGP digital signature
- Re: [Monotone-devel] Re: Undo a commit, (continued)
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Daniel Atallah, 2008/10/10
- [Monotone-devel] Re: Undo a commit, Bruce Stephens, 2008/10/10
- Message not available
- Re: [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Thomas Keller, 2008/10/10
- [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Brian May, 2008/10/12
- Re: [Monotone-devel] Re: Undo a commit,
Thomas Keller <=
- Re: [Monotone-devel] Re: Undo a commit, Daniel Carrera, 2008/10/10
- [Monotone-devel] Re: Undo a commit, Ludovic Brenta, 2008/10/10
- Re: [Monotone-devel] Re: Undo a commit, Nathaniel Smith, 2008/10/09
- [Monotone-devel] Re: Undo a commit, Lapo Luchini, 2008/10/09