Skip to content
Snippets Groups Projects
Commit 30ac04ce authored by Justin Hileman's avatar Justin Hileman
Browse files

[bobthefish] Use `hg root` instead of `hg stat` for in_hg

parent 212626b7
Branches
No related merge requests found
...@@ -72,7 +72,7 @@ function __bobthefish_in_git -d 'Check whether pwd is inside a git repo' ...@@ -72,7 +72,7 @@ function __bobthefish_in_git -d 'Check whether pwd is inside a git repo'
end end
function __bobthefish_in_hg -d 'Check whether pwd is inside a hg repo' function __bobthefish_in_hg -d 'Check whether pwd is inside a hg repo'
command hg stat > /dev/null 2>&1 command hg root > /dev/null 2>&1
end end
function __bobthefish_git_branch -d 'Get the current git branch (or commitish)' function __bobthefish_git_branch -d 'Get the current git branch (or commitish)'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment