Skip to content

Commit

Permalink
Move hgCat, hgId, and hgStatus to hgCommandAsync.
Browse files Browse the repository at this point in the history
This considerably speeds up atom while typing.
moving hgVersion and getHgPathStatus was also considered but it prooved to be quite hard.

With this change, the only synchronous commands happen when opening a project, and when saving a file.
I think this should be good enough given that saving a file usually calls a linter or formatter and it
takes some time anyways.

Related to: #15
  • Loading branch information
Goodwine committed Mar 23, 2017
1 parent cf9264f commit b4fb1e2
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 561 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Works on:
- Steven Atkinson [@mrstebo](https://github.com/mrstebo)
- [@mevatron](https://github.com/mevatron)
- Tom Kemper [@TomKemperNL](https://github.com/TomKemperNL)
- Carlos Ortiz [@Goodwine](https://github.com/Goodwine) - Google Inc.

## License

Expand Down
Loading

0 comments on commit b4fb1e2

Please sign in to comment.