Mercurial Hg push command not working - Error: No changes found
Can someone pls advise why I'm getting NO CHANGES found at the end. Also, I'm getting an annoying message, "**Username not specified in .hg/hgrc. Keyring will not be used.**"
Version tool: Hg latest version
after, hg stat.
doing hg commit -m "commit comment here"
solved the "no changes found" issue.
but now im seeing.
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
remote: abort: crosses branches (merge branches or use --clean to discard changes)
remote: warning: changegroup hook exited with status 255
OK. resolved both.
Now, keyring is working.
followed this doc. http://pypi.python.org/pypi/mercurial_keyring
Key thing is. order of [...] sections is important i think, may be im wrong. but i had to make [extensions] ... mercurial_keyring = or hgext.mercurial.keyring = /path/for/mercurial_keyring.py
line only in user's ~/.hgrc file. Now, this file is totally different that Repository's .hg/hgrc. Note, it's "hgrc" instead of ".hgrc". i.e. if you see/read anywhere online ..a file as: .hrgc, that means it's your homedirectory one i.e ~/.hgrc. and if someone says local repository hgrc file.. then that file is /xx/xx/xxx/hg/repos/Repo1/.hg/hgrc file. where /xx/xx/xxx/hg/repos is the location where all your Mercurial repositories reside and Repo1 is a repository taken as as example by me.
One question though.
My repository "TestHgRepo1" for ex. contains the "hgrc" file (repository's .hg/hgrc)... as
myremote = http://LinuxServer1/hg/TestHgRepo1/
contact = Arun Sangal
description = Test Repository 1
myremote.schemes = http https
myremote.prefix = LinuxServer1.company.com/hg
myremote.username = c149807
I created a test folder, then ran "hg clone http://LinuxServer1/hg/TestHgRepo1/" or "http://LinuxServer1.company.com/hg/TestHgRepo1/" or "http://xx.xx.xx.xx/hg/TestHgRepo1/" command, and each time, after the clone command was done, when I saw the cloned, folder "TestHgRepo1"'s .hg/hgrc file, it just contained only 2 lines
default = http://LinuxServer1/hg/TestHgRepo1/
or with the FQDN value in the 2nd line when i used that during clone step, or the IP xx.xx.xx.xx in the 2nd line, when i used xx.xx.xx.xx way during clone step.
Why, the other .hg/hgrc repository content is not coming ???
|All times are GMT -5. The time now is 05:56 AM.|