Modify

Opened 15 years ago

Closed 15 years ago

#6135 closed defect (fixed)

Enabling commit hook is not comaptible with Windows

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

Change History (1)

comment:1 Changed 15 years ago by Jeff Hammel

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.