Modify

Opened 5 years ago

Closed 5 years ago

#6135 closed defect (fixed)

Enabling commit hook is not comaptible with Windows

Reported by: chris@… Owned by: 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 (0)

Change History (1)

comment:1 Changed 5 years ago by k0s

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.