[hg] HgCommandService is not a service anymore
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Wed, 6 Apr 2011 07:24:22 +0000 (11:24 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Fri, 8 Apr 2011 10:22:15 +0000 (14:22 +0400)
commitd5639bfdde7d55f293e8cdba06808fbd9dbad55b
treee6bf951238c6752a66fae4be3a65b7f6544dd808
parent246f584ac38b19e91050ec949f60f0f692d0073f
[hg] HgCommandService is not a service anymore

Due to a large amount of configuration options, better to instantiate HgCommandService each time before executing a command.
prompthooks.py preparation is made in HgVcs#activate(), so no long operation is done in HgCommandService().
plugins/hg4idea/src/META-INF/plugin.xml
plugins/hg4idea/src/org/zmlx/hg4idea/HgVcs.java
plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCommandService.java