{"action":"opened","issue":{"url":"https://api.github.com/repos/jangler/schismtracker/issues/3","repository_url":"https://api.github.com/repos/jangler/schismtracker","labels_url":"https://api.github.com/repos/jangler/schismtracker/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jangler/schismtracker/issues/3/comments","events_url":"https://api.github.com/repos/jangler/schismtracker/issues/3/events","html_url":"https://github.com/jangler/schismtracker/issues/3","id":153875412,"number":3,"title":"Rewrite Mercurial-dependent code","user":{"login":"jangler","id":1653421,"avatar_url":"https://avatars.githubusercontent.com/u/1653421?v=3","gravatar_id":"","url":"https://api.github.com/users/jangler","html_url":"https://github.com/jangler","followers_url":"https://api.github.com/users/jangler/followers","following_url":"https://api.github.com/users/jangler/following{/other_user}","gists_url":"https://api.github.com/users/jangler/gists{/gist_id}","starred_url":"https://api.github.com/users/jangler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangler/subscriptions","organizations_url":"https://api.github.com/users/jangler/orgs","repos_url":"https://api.github.com/users/jangler/repos","events_url":"https://api.github.com/users/jangler/events{/privacy}","received_events_url":"https://api.github.com/users/jangler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T21:34:37Z","updated_at":"2016-05-09T21:34:37Z","closed_at":null,"body":"There are places (mostly in build scripts) that rely on the project being a Mercurial repo for optimal behavior. In almost all cases, this seems to be benign, and there are fallbacks if there's no Mercurial repo. A notable exception was the problem fixed by b92bab6.\r\n\r\nHowever, it would be best to figure out which parts of the code are relying on Mercurial info (`git grep -i hg` should be useful here), *why* the code is doing so, and what should be done about it:\r\n\r\n1. Modify the code to rely on Git data instead?\r\n2. Just modify the variable/macro names if there's no associated logic?\r\n3. Get rid of the code altogether, leaving only the fallback case?\r\n\r\nI like option 3 best if it's practical.\r\n\r\nThis will probably be an incremental process that should take place on its own branch before being merged into master."}}