I set up a new project on Google Code and have set Mercurial as my Source Control.
I did an hg clone <url>
just like the Checkout page states and got a copy of this repository locally. At the moment, it's still empty.
Now I added some files in this folder and tried committing them with: hg com -m "Initial Commit"
but I am always getting back nothing changed
.
So I check the status with hg status
and get:
? file1
? file2
So Mercurial knows that these files should be added but I am still getting nothing changed
when trying to commit. Obviously this happens when trying to push
as well but I guess that's because I haven't been able to commit
yet.
Has anyone encountered this problem ?
Reverting Local Changes If you use the TortoiseHg client to work with Mercurial from TestComplete, you can cancel all local changes not committed to the repository yet: Select File > Source Control > Revert from the TestComplete main menu.
Description. Update the repository's working directory to the specified changeset. If no changeset is specified, update to the tip of the current named branch and move the active bookmark (see hg help bookmarks). Update sets the working directory's parent revision to the specified changeset (see hg help parents).
The hg command provides a command line interface to the Mercurial system.
The problem was that I was forgetting about add
.
So now after I cloned, I did a hg add
and then an hg com -m "Initial Commit"
and it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With