Ticket #5612 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

get_node() failes when no revision is specified

Reported by: pacopablo Assigned to: 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

t5612_get_node_null_rev_fix.patch (0.9 kB) - added by pacopablo on 08/04/09 00:28:08.
Patch to fix get_node() when no revision is passed

Change History

08/04/09 00:28:08 changed by pacopablo

  • attachment t5612_get_node_null_rev_fix.patch added.

Patch to fix get_node() when no revision is passed

08/13/09 18:57:35 changed 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.

08/28/09 00:14:53 changed by pacopablo

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

Fixed in [6442]


Add/Change #5612 (get_node() failes when no revision is specified)




Change Properties
Action