Ticket #6135 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Enabling commit hook is not comaptible with Windows

Reported by: chris@chrisarndt.de Assigned to: k0s
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

Change History

11/02/09 16:52:27 changed by k0s

  • status changed from new to closed.
  • resolution set to fixed.

(In [6999]) wrap file mode operations in try except, fixes #6135


Add/Change #6135 (Enabling commit hook is not comaptible with Windows)




Change Properties
Action