[Ns-developers] File history in ns-3-dev

Josh Pelkey jpelkey at gatech.edu
Thu Mar 3 11:51:47 PST 2011


Aha, well I'm glad to see that most of these are preserved. I failed
to do it correctly when I modularized nix and olsr. I guess the proper
way is to use "hg rename." Also, I don't see a way to get the
preserved file history through the web interface unfortunately. Please
correct me :)

--
Josh

On Thu, Mar 3, 2011 at 2:43 PM, Mitch Watrous <watrous at uw.edu> wrote:
> On 03/03/2011 11:32 AM, Josh Pelkey wrote:
>>
>> Hi all,
>>
>> I wanted to point out a small issue with mercurial file history once
>> we started moving a large number of files around for the modular
>> build. It looks like the changeset history for an individual file
>> doesn't follow it if it is relocated within ns-3-dev. One way around
>> this is to visit a changeset before we started moving things around,
>> for example the ns-3.10 tagged changeset. Then when you look at the
>> changesets for individual files, you can see the years of history if
>> you need. We could potentially tag another changeset, signifying the
>> beginning of the modular shift, but I couldn't find a good one at
>> first glance.
>>
>> --
>> Josh
>>
>
> You can determine if the change history has been preserved by using the -f
> option with hg log like this:
>
>    hg log -f src/devices/csma/model/csma.h
>
> Mitch
>
>



More information about the Ns-developers mailing list