I'm writing a script which converts a project in my workplace from ClearCase to Mercurial + Jira. I'm having problems with moved files. I'm using 'lsact -long' to get files changed in an activity. The problem is that when, for instance, a directory was renamed, the change is only apparent in its parent directory and it's listed with 'describe' like so:
Added directory element "new_name". Uncataloged directory element "old_name
Trouble is, it doesn't specify explicitly that a directory moved, so it might be that someone deleted an old directory and created a new one.
How do I know whether files were moved in a directory changeset?