push local ./hg/hgrc file?

Uwe Brauer oub at mat.ucm.es
Sat Oct 14 08:51:46 UTC 2017


Hi

I want to push repo1 (laptop1) to USB and then to repo1(Laptop2).

The problem is that the local hgrc file will not be pushed since he is
inside the .hg directory,  I could try to make a symbolic link to
another file and add it to hg.


But is there a way to include the information of the local hgrc file in
a unique way to the global hgrc file? Like


[repo]
Repo.repfix = /home/oub/repo1

[hooks]
incoming.notify = python:hgext.notify.hook
outgoing.notify = python:hgext.notify.hook
[notify]
config = /home/oub/repo1/.hg/notifyconf
test = False
strip = 6
template = Subject: [Bitbucket] {webroot|strip}\n
  branches:  {branches}
  changeset: {rev}:{node|short}
  user:      {author}
  date:      {date|date}
  description:
  {desc}\n

I cannot find a working example in the net.

Any suggestions?
Thanks

Uwe Brauer 



More information about the Mercurial mailing list