alecthomas / devtodo2

DevTodo the Second
100 stars 18 forks source link

Migration ? #16

Closed pawamoy closed 9 years ago

pawamoy commented 9 years ago

Hi, sorry to bother and thank you very much for your app, but I just can't understand how to migrate my old .todo files to the new JSON version. I tried todo2 --legacy-file=.todo --file=.todo2 or just todo2 -a something, or todo2 --import .todo -a something, and nothing worked, .todo2 just contains something and .todo is still XML.

alecthomas commented 9 years ago

Thanks for reporting this, it seems there may have been some change in Go's handling of XML struct tags. It should work now, and the usage is automatic. You shouldn't have to do anything or specify any arguments.

pawamoy commented 9 years ago

Thank you very much for your quick fix !