Michel Morin wrote:
Peter Dimov wrote:
In the past I moved headers along with their history by exporting the commits to a text file and then applying that in the target repo,
After the move, the original file is split into the two files: one contains the actual code and the other is for the backward compatibility. Did you transfer the history into only one of the two files?
I moved the file as-is from the first repo to the other, as described here: https://svn.boost.org/trac10/wiki/NewLibByRefactor Then, assuming the result is include/boost/utility/next_prior.hpp in repo iterator, I would rename it with `git mv` to include/boost/iterator/next_prior.hpp. This ought to retain history. I would then create the new forwarding file with the old name in a separate commit.