Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Does not play nice with subrepos #1

Closed
schinckel opened this Issue May 4, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

schinckel commented May 4, 2012

Most of the commands in this bundle have something that checks to see if TM_PROJECT_DIRECTORY exists, and if it does, that is used as the working directory when running the command.

This means that it is not possible to commit/inspect/whatever a subrepo, as it always jumps back to the TextMate project root.

Changing the directory to the project root before running an hg command is unnecessary: hg will find the root of the repository, and work as expected.

Changing all of the instances of export/cd to $TM_DIRECTORY (removing the if clause, or changing the "${...}" stuff) means that the commands will then work with the main repo, and any subrepos.

Contributor

schinckel commented Mar 28, 2014

I think this was resolved with: 02c4a0a

@schinckel schinckel closed this Mar 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment