Modify ↓
Opened 15 years ago
Closed 15 years ago
#6135 closed defect (fixed)
Enabling commit hook is not comaptible with Windows
Reported by: | Owned by: | Jeff Hammel | |
---|---|---|---|
Priority: | normal | Component: | RepositoryHookSystemPlugin |
Severity: | normal | Keywords: | windows, mknod |
Cc: | Trac Release: | 0.11 |
Description
The code to create a new hook script is not compatible with windows because it uses os.mknod
(see filesystemhooks:FileSystemHooks.create. It should simply use Python's open
function and then a os.chmod
call wrapped in a try/except.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
(In [6999]) wrap file mode operations in try except, fixes #6135