How do I git reset –hard HEAD on Mercurial?

If you’ve not yet commited, and it sounds like you haven’t you can undo all the merge work with hg update –clean. However, in newer mercurial’s there’s a handy command to re-merge a single file: hg resolve path/to/file.ext. From the hg help resolve: The available actions are: … 4) discard your current attempt(s) at resolving … Read more

Found a swap file by the name

Looks like you have an open git commit or git merge going on, and an editor is still open editing the commit message. Two choices: Find the session and finish it (preferable). Delete the .swp file (if you’re sure the other git session has gone away). Clarification from comments: The session is the editing session. … Read more

What do people think of the fossil DVCS? [closed]

Mr. Millikin, if you will take a few moments to review some of the documentation on fossil, I think your objections are addressed there. Storing a repository in an sQLite database is arguably safer than any other approach. See link text for some of the advantages of using a transactional database to store a repository. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)