octave-maintainers
[Top][All Lists]
Advanced

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

Re: commit


From: Ernst Reissner
Subject: Re: commit
Date: Thu, 21 Jul 2016 22:10:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 07/21/2016 07:42 PM, Mike Miller wrote:
> On Thu, Jul 21, 2016 at 15:56:08 +0200, Ernst Reissner wrote:
>> On 07/21/2016 03:54 PM, Ernst Reissner wrote:
>>> I just did
>>>
>>> 'hg commit filename'.
>>>
>>> I would have expected to see something when I do
>>>
>>> 'hg log filename',
>>>
>>> but there is nothing to be seen...
>>>
>>> hm..
>>>
>>> It worked fine with ov-jva.cc, but neither with .txi nor with .java
>>> files nor with .m files
>>>
>>> as methods.m and fieldnames.m
> Yes, assuming filename is modified, if you `hg commit filename` and save
> the commit message, then `hg log filename` should show the change just
> committed.
>
> Does the working copy of the file still contain your changes?
>
> If the working copy has your changes but they are not in the log, maybe
> you forgot to commit or aborted your editor when prompted for a commit
> message?
>
> If you committed the file some time ago or thought you did, and the file
> no longer contains the changes you made and the log has no reference to
> them, then maybe you were in a different working directory?
>
Hi Mike,
in the meantime i realized my failure:
hg commit just commits locally.
I did so and then I again cloned my environment without realizing that
that discarded all my changes.

Tatsuro told me that if I want to provide a patch I have to hg export. 


Tank you for explaining all.. 







reply via email to

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