We want to use this from multiple extensions so let's move it.
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGX0eb3df0e50c0: extutil: move flock to extutil
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
hgext3rd/extutil.py | ||
---|---|---|
206 | This is using flock() instead of fcntl() libc function/syscall (the Python module name "fcntl" is just confusing - flock() has nothing to do with fcntl). The comment needs to be updated to use flock. |
This is using flock() instead of fcntl() libc function/syscall (the Python module name "fcntl" is just confusing - flock() has nothing to do with fcntl). The comment needs to be updated to use flock.