[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hg syntax bug in /doc/interpreter/contrib.txi?
From: |
Thorsten Meyer |
Subject: |
Re: hg syntax bug in /doc/interpreter/contrib.txi? |
Date: |
Fri, 03 Oct 2008 12:23:06 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
Jaroslav Hajek wrote: (on octave.bugs)
> On Fri, Oct 3, 2008 at 11:23 AM, Thorsten Meyer <address@hidden> wrote:
>> Hi,
>>
>> I generated a changeset of the current mercurial sources using the
>> instructions in doc/interpreter/contrib.txi (and without having much
>> prior knowledge of mercurial).
>>
>> The hg export command given there has not worked for me:
>> > hg export ../myfirst.diff
>> abort: unknown revision '../myfirst.diff'!
>>
>
> Yes, it should read
>
> hg export -o ../myfirst.diff tip
>
>
>> After consulting "hg export help" I used this command:
>> > hg export tip > ../my_first.diff
>> which worked as far as I could see.
>>
>> Should the text in contrib.txi be corrected or do I just not know enough
>> about mercurial yet? If it is indeed a bug, I can provide a changeset
>> for it.
>>
>
> please go ahead
here is a changeset for this bug.
regards
Thorsten
# HG changeset patch
# User Thorsten Meyer <address@hidden>
# Date 1223029113 -7200
# Node ID ddd1c7cca7f96c292b38556b28679a4e537c43cb
# Parent c9d6071b9696b8ba72496181b5dc64d87fa0f04e
hg syntax bug in mercurial example
diff -r c9d6071b9696 -r ddd1c7cca7f9 doc/ChangeLog
--- a/doc/ChangeLog Fri Oct 03 11:55:44 2008 +0200
+++ b/doc/ChangeLog Fri Oct 03 12:18:33 2008 +0200
@@ -1,3 +1,6 @@
+2008-10-03 Thorsten Meyer <address@hidden>
+ * interpreter/contrib.txi: correction of the mercurial example
+
2008-10-03 Thorsten Meyer <address@hidden>
* interpreter/container.txi: minor correction of the text
diff -r c9d6071b9696 -r ddd1c7cca7f9 doc/interpreter/contrib.txi
--- a/doc/interpreter/contrib.txi Fri Oct 03 11:55:44 2008 +0200
+++ b/doc/interpreter/contrib.txi Fri Oct 03 12:18:33 2008 +0200
@@ -54,7 +54,7 @@
cd octave
# change some sources...
hg commit -m "make Octave the coolest software ever"
-hg export ../cool.diff
+hg export -o ../cool.diff tip
# send ../cool.diff via email
@end example
- Re: hg syntax bug in /doc/interpreter/contrib.txi?,
Thorsten Meyer <=