Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you version your MQ, you can never lose data in it.

In git, if you rewrite history, you lose information - you can no longer see what things looked like before you rewrote it.

Disclaimer: I use git myself and prefer it. But the hg and MQ bashing in the comments here is unfair.



In git, if you rewrite history, your old history is still available via the reflog; nothing is lost.


When I used MQ, it was to modify history in a way equivalent to some of git's features. Versioning that defeats the purpose.


The MQ versioning repo is separate from the main versioning repo. So I don't see how one follows from the other here. You can perfectly modify history in the main repo and version that editing in the MQ repo. The main repo will look clean because the history editing is versioned in the MQ repo.


Ah, that's good to know. I was not aware of that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: