Modify

Opened 15 years ago

Closed 15 years ago

#5612 closed defect (fixed)

get_node() failes when no revision is specified

Reported by: John Hampton Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When a revision is not specified, None is passed to ls_tree. This then dies due to the None object not being valid on a command line.

Attached is a fix that substitutes HEAD for the revision when no revision is specified.

Attachments (1)

t5612_get_node_null_rev_fix.patch (931 bytes) - added by John Hampton 15 years ago.
Patch to fix get_node() when no revision is passed

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by John Hampton

Patch to fix get_node() when no revision is passed

comment:1 Changed 15 years ago by anonymous

The patch made IncludeMacro to work. Without the patch I get this error: "No node FILENAME at revision None" when macro is executed.

comment:2 Changed 15 years ago by John Hampton

Resolution: fixed
Status: newclosed

Fixed in [6442]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
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.