I've been using hg for a few years with a BitBucket Repo . I use it to archive my development but also to synchronise between different computers (mainly my desktop and my main laptop). So far, no troubles.
But today, when I did an hg pull
to get the latest version from the server, I got the response " no changes found ", when I can see the changes made yesterday on the server, and still no replicated on my files, locally.
I eventually got the latest version using hg graft -r the_latest_version
, which solve my problem for now ... however this was easy to see as it was for a shell script with only a few files.
With projects with plenty of files, I might not spot the problem early enough. Any ideas on what went wrong and how to correct it ?
Cheers.
OK, the answer is: I just forgot I needed to perform hg update
after hg pull
!
Thanks to @planetmaker for pointing in the right direction !
Sorry for the disturbance!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.