Getting "nothing has changed" when making a transaction in Mercurial with Google code

I installed a new project in Google Code and installed Mercurial as a control source.

I did the hg clone <url>same as on the Checkout page, and received a copy of this repository locally. At the moment it is still empty.

Now I added some files to this folder and tried to make them with:, hg com -m "Initial Commit"but I always come back nothing changed.

So, I check the status with help hg statusand get:

? file1
? file2

So, Mercurial knows that these files need to be added, but I still get it nothing changedwhen I try to commit. Obviously, this also happens when you try push, but I assume that since I have not been able to commit.

Has anyone encountered this issue?

+3
source share
1 answer

The problem was that I forgot about add.

So, now, after I cloned, I did hg add, and then hg com -m "Initial Commit"it worked.

+5
source

Source: https://habr.com/ru/post/1754325/


All Articles