[haiku-commits] Re: r41130 - haiku/trunk/src/add-ons/kernel/bus_managers/ps2

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 28 Mar 2011 21:45:36 +1300

On Mon, 28 Mar 2011 21:31:11 +1300, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

> Log:
> Delete old c files.
That sounds like you lost the history on those files! The idea is to use
"svn mv" which not only renames the files (to .cpp), but also preserves the history (and also would make the rename a single commit). If you did not use
"svn cp" to create the cpp files, please revert your changes, and do it
again to restore the history of the C files.

Just to make that clear: it doesn't help to manually revert the changes, that doesn't bring the history back (it still seems to be gone when looking at the revision log) -- how could svn otherwise know that you reverted anything? You have to use svn to revert your changes back to the original revision using svn merge. For example, see http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.branchmerge.commonuses.undo (that's what Google returned, I guess the same paragraph can be found in a more recent version of the docs).


sorry here the merge output:

src/add-ons/kernel/bus_managers/ps2$ svn merge -r 41132:41128 .
--- Reverse-merging r41132 through r41129 into '.':
U    packet_buffer.cpp
A    ps2_synaptics.c
U    ps2_standard_mouse.h
A    ps2_trackpoint.c
A    ps2_dev.c
U    packet_buffer.h
U    ps2_synaptics.h
A    movement_maker.c
A    ps2_module.c
A    ps2_common.c
U    movement_maker.h
A    ps2_alps.c
U    Jamfile
U    ps2_alps.h
A    ps2_standard_mouse.c
D    ps2_synaptics.cpp
D    ps2_trackpoint.cpp
D    ps2_dev.cpp
D    ps2_alps.cpp
D    movement_maker.cpp
D    ps2_module.cpp
D    ps2_common.cpp
D    ps2_standard_mouse.cpp

Other related posts: