25 Feb
2015
25 Feb
'15
1:16 a.m.
On 02/25/2015 01:11 AM, Kosta Arvanitis wrote:
Is it possible to rename a file in HG and have it keep the history?
The rename will preserve all history of the file, though you must ask for it explicitly:
hg log --follow chirpc
If your keen on creating a tool for install purposes, look at the setup script. You may be able to achieve this by creating a named setup distro without requiring a rename of the source file. I haven't tried this myself but should be possible.
I don't think it's a good idea to rename it on install, as it will be confusing to anyone that switches between an installed release and a daily build.
--
Zach Welch
Mandolin Creek Farm
www.mandolincreekfarm.com
farm: 541-453-4131
cell: 541-740-3410