qri-io / qri

you're invited to a data party!
https://qri.io
GNU General Public License v3.0
1.11k stars 66 forks source link

need a test to check behavior of init followed by checkout with no save #854

Closed b5 closed 5 years ago

b5 commented 5 years ago

in current iterations this errors because we end up trying to read a dataset that has no reference. I think when we encounter this we should produce an error and exit.

dustmop commented 5 years ago

Fixed by https://github.com/qri-io/qri/pull/871. Specifically, the test is TestNoHistory at api/fsi_test.go.