track time of soft link, not soft link target

Issue #44 new
Dean Malmgren
created an issue

In situations where soft links point to a location outside of the repository, TimestampMod complains with errors like this

*** TimestampMod: Get File Stat failed for Web/base/static/figures!

I forked this repository and have a fix that tracks the timestamp of soft links instead of their associated targets. For the life of me, I can not figure out how to issue a pull request (are they enabled?). Happy to refine however you deem fit.

Comments (3)

  1. Nathan Durnan repo owner

    Hi Dean, I'm finally getting back into maintenance on this extension (at least temporarily). If you're willing to help, I'd like to implement this. I don't work with soft links in my repositories, so I'm not sure of how to test this. If possible, could you more completely describe how to create and test this use case for me? Even better if you could provide a basic command-line sequence that demonstrates the problem behavior. Thanks!

  2. Dean Malmgren reporter

    I figured out how to make a PR with bitbucket in #5. Hope this helps.

    You can make a soft link with ln -s path/to/some/directory/or/file name_of_soft_link

    It has been a long time since I wrote the code for that PR. I don't even know what repo I was using it on or what the context was. I wish I could be more helpful, but this is the best I can do for you at this time.

  3. Nathan Durnan repo owner

    Hi Dean, can you please pull the from the tip of branch BB#44 - Soft Links and confirm that the test scripts I have added cover the issue? Please grab the latest TimestampMod.py file from that branch as well and confirm that the issue still exists. I'm not seeing any unexpected behavior on my machine right now (Win7), and I'm not sure if I'm recreating the test conditions correctly or if something internal to hg has been patched since this issue was first posted. Thanks!

  4. Log in to comment