[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #7874] Renaming unimplemented.m to __unimp
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-patch-tracker] [patch #7874] Renaming unimplemented.m to __unimplemented__.m |
Date: |
Mon, 29 Oct 2012 16:01:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110109 Webzebra/3.6.13 |
Follow-up Comment #5, patch #7874 (project octave):
> The renaming was closed with commit message
> "Close bad file rename"
> What was the problem?
When you moved one file, you recorded a deletion and an addition
instead of a renaming. This meant that it looks like the
__unimplemented__.m file looks like entirely your own creation, i.e.
it lost its history as inherited from unimplemented.m
To avoid this in the future, use the "hg rename" command so that hg is
aware of file renames, and turn on the git-style diff option in your
.hgrc:
[diff]
git = true
I fixed your commit to actually record the rename. Because a bad
commit had already been published, I closed the bad head so that
development could continue on the good one. After enabling the git
option in diff, compare the two commits:
hg export -r 77795b0ed263 ## Yours
hg export -r ## Mine
## History as recorded by you
hg annotate -u -n -r 77795b0ed263 scripts/help/__unimplemented__.m
## History as recorded by me
hg annotate -u -n -r 8ed107220a3e scripts/help/__unimplemented__.m
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7874>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/