문제

There's a lot of questions about bookmarks but none of them answers my question:

What should I do to allow for creating bookmarks while pushing to my hgweb server?

Here's what I'm getting while trying to push bookmark:

$ hg push -B feature1
pushing to http://local_server/hg/Project
searching for changes
no changes found
exporting bookmark feature1
updating bookmark feature1 failed!

Is there anything I should put into .hgrc or in hgweb config?

When bookmarks already exist in remote repo then they are updated, also creating bookmarks by push works on bitbucket so I'm sure it's possible.

Problem solved:

In system there were two Mercurial versions installed:

/usr/bin/hg == v1.4
/usr/local/bin/hg == v2.2

Although wchich hg prints /usr/local/bin/hg nginx was using /usr/bin/hg.

Thank you for your help.

도움이 되었습니까?

해결책

Problem solved:

In system there were two Mercurial versions installed:

/usr/bin/hg == v1.4
/usr/local/bin/hg == v2.2

Although which hg shows /usr/local/bin/hg nginx was using /usr/bin/hg.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top