tsrc icon indicating copy to clipboard operation
tsrc copied to clipboard

tsrc sync discards local manifest changes

Open dmerejkowsky opened this issue 4 years ago • 1 comments
trafficstars

Step to reproduce:

  • Change local manifest (in .tsrc/manifest/manifest.yml
  • Run tsrc sync
  • Your local changes are silently discarded

I think tsrc sync should abort with an error if the local manifest is dirty

dmerejkowsky avatar Jan 27 '21 10:01 dmerejkowsky

And for your question about Change local manifest in .tsrc/manifest/manifest.yml Because obviously I made this mistake before seeing the documentation ^^ from my memory, my workaround was:

rm -fr .tsrc
tsrc init <URL>
tsrc sync

Ok foolish!

Lecrapouille avatar Jan 15 '22 10:01 Lecrapouille