-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cached revisions #115
base: master
Are you sure you want to change the base?
Cached revisions #115
Conversation
@marcinkuzminski if you can, please fix problem with gzip not having contextmanager in older pythons. Otherwise I'll fix that tomorrow. |
- fixed issues with @property.setter on py2.5
So, there is still documentation missing. After adding it we can probably merge this |
I have few comments:
i'm asking so maybe you know the answer now, else we need to test that |
The other thing is that we haven't actually check the performance improvement. For relatively small repositories (~5k commits) the difference is very small. For repository with 20k commits the difference is significant (almost twice as fast). Haven't tried with larger repos. |
re1. i mean on each repo i run this it make the workdir dirty, i think simple enought would be to store those files inside .hg dir for Mercurial or .git dir for Git (unless it's a bare repo, then at top level re3 - we could switch to pid-lock it's basically storing the PID inside lock file, if lockfile is there, but pid is not, lock is obsolete and get's rewritten twice fast for 20K commit repo sounds nice ! |
Please check if I haven't omit anything.