Modify

Opened 5 years ago

Closed 5 years ago

#5612 closed defect (fixed)

get_node() failes when no revision is specified

Reported by: pacopablo Owned by: hvr
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 pacopablo 5 years ago.
Patch to fix get_node() when no revision is passed

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by pacopablo

Patch to fix get_node() when no revision is passed

comment:1 Changed 5 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 5 years ago by pacopablo

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

Fixed in [6442]

Add Comment

Modify Ticket

Action
as closed The owner will remain hvr.
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.