{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4381","repository_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4381/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4381/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4381/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4381","id":107728128,"number":4381,"title":"Added mercurial library","user":{"login":"mbologna","id":530992,"avatar_url":"https://avatars.githubusercontent.com/u/530992?v=3","gravatar_id":"","url":"https://api.github.com/users/mbologna","html_url":"https://github.com/mbologna","followers_url":"https://api.github.com/users/mbologna/followers","following_url":"https://api.github.com/users/mbologna/following{/other_user}","gists_url":"https://api.github.com/users/mbologna/gists{/gist_id}","starred_url":"https://api.github.com/users/mbologna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbologna/subscriptions","organizations_url":"https://api.github.com/users/mbologna/orgs","repos_url":"https://api.github.com/users/mbologna/repos","events_url":"https://api.github.com/users/mbologna/events{/privacy}","received_events_url":"https://api.github.com/users/mbologna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels/core","name":"core","color":"000000"},{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels/mercurial","name":"mercurial","color":"c7def8"},{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels/testers%20needed","name":"testers needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-09-22T14:39:14Z","updated_at":"2016-08-18T16:42:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/4381","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4381","diff_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4381.diff","patch_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4381.patch"},"body":"The added library parses output of the hg (mercurial) command, and outputs\r\nthe same variables (which should be customized by theme) in your prompt.\r\nI added an example of these variables to michelebologna theme.\r\n\r\nThis patch should uniform all the behaviour of all themes regarding mercurial.\r\nIn fact, some themes implement their own hg parsing *inside* the theme.\r\nThis should be better implemented in a library, as happens with git library."},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/240783134","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/4381#issuecomment-240783134","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4381","id":240783134,"user":{"login":"mbologna","id":530992,"avatar_url":"https://avatars.githubusercontent.com/u/530992?v=3","gravatar_id":"","url":"https://api.github.com/users/mbologna","html_url":"https://github.com/mbologna","followers_url":"https://api.github.com/users/mbologna/followers","following_url":"https://api.github.com/users/mbologna/following{/other_user}","gists_url":"https://api.github.com/users/mbologna/gists{/gist_id}","starred_url":"https://api.github.com/users/mbologna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbologna/subscriptions","organizations_url":"https://api.github.com/users/mbologna/orgs","repos_url":"https://api.github.com/users/mbologna/repos","events_url":"https://api.github.com/users/mbologna/events{/privacy}","received_events_url":"https://api.github.com/users/mbologna/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T16:42:41Z","updated_at":"2016-08-18T16:42:41Z","body":"@mcornella I understand that other PR have been done. This PR address the proliferation of `mercurial` plugins. Why not handling mercurial just inside the native `lib` and standardize prompt variables, as we already do with git?"}}
{"actor":{"display_login":"mbologna"}}