1/15/2023 0 Comments Tortoisehg tag vs bookmark![]() But strangely this seems to refer to the showing of the prompt, not the activating of the bookmarks. In the settings I found "Activate Bookmarks" and set it to "never". This behaviour and its risk of mutating bookmarks is preventing me from rolling out this incredible new workflow! You then have to edit the drop-down and copy the revision number below into it. There's no way to prevent this behaviour. However using THg, if you choose "Update" on a given revision, it automatically selects the first bookmark name in the drop-down. And I think I can prevent this being pushed using hooks (although can't find any python docs on the relevant hg hook). I can live with the relatively low risk of them moving in this circumstance. Using command-line, bookmarks are only activated explicitly when you create them by default, and when you update to them by name. now try reproducing the problem with TortoiseHg version 0.9 and Seamonkey 2.0.2 under Win2000, Neil. > I dont know why installing these applications causes the problem, but I now > have a new workaround coming up. (Ideally there'd be a core hg option to 'lock' bookmarks as inactive, but I doubt I'd get any traction with that). (In reply to comment 97) > Reproduced with TortoiseHg 0.5 on Windows 2000. This would work very well, providing no developer accidentally made a bookmark active and started moving its revision. So I am now considering using "hg bookmark -inactive", since it is automatically shared without creating revisions. And over time, I'm concerned performance may degrade. But this would result in a new revision for every tag, massively polluting the repository history, and with conflict risk. I first considered using "hg tag" to inject this data (via some scheduled task). This will allow a developer to instantly eyeball whether a feature branch is safe to integrate, or at least make it impossible for them to ignore failing tests or crashing revisions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |