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)
Change History (3)
Changed 15 years ago by
Attachment: | t5612_get_node_null_rev_fix.patch added |
---|
comment:1 Changed 15 years ago by
The patch made IncludeMacro to work. Without the patch I get this error: "No node FILENAME at revision None" when macro is executed.
Note: See
TracTickets for help on using
tickets.
Patch to fix
get_node()
when no revision is passed