Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been having this problem for a while.

My unison profile says:

root = /Users/mylogin
root = ssh://mylogin@mydesktop//home/myloign

I run Unison from everywhere in the world to sync against my Desktop, but sometimes the local network gives my Macbook a funny hostname, like: 1223.youarehere.com.

In such cases Unison says this is the 1st time I attempt to sync them, and try to start over.

What can I do?

I just want local replica to be the local replica.

share|improve this question
    
If you find a solution yourself, post it as an "answer" below. – grawity Jan 15 '13 at 19:20
    
Done. Thank you @grawity. – hectorpal Jan 15 '13 at 22:35

Just set the environment variable UNISONLOCALHOSTNAME to your prefered local host name. For example,

export UNISONLOCALHOSTNAME=mylaptop.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .