Skip to content

Gen checkout bug #209

Description

@bobvh

Checking out an operation directly by hash always fails. If you don't specify a branch you get an error, if you do specify a branch it fails silently and just creates a new branch at HEAD.

To reproduce:

gen init
gen defaults --database repro.db --collection main
gen import fasta fixtures/simple.fa --reference simple_ref
gen update vcf fixtures/simple.vcf --parent-samples simple_ref -s new_sample
gen operations
gen checkout or HEAD~1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions