Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top