push content of a symbolic link to remote server.

Uwe Brauer oub at mat.ucm.es
Mon Mar 27 15:14:17 UTC 2017



Hi

A while ago I asked about hard links of files between repos and it
turned out that hardlinks are not stable, for example they are broken
when I update between different branches.

Now  I thought of using softlinks and I have a repo which looks like
this

  drwxrwxr-x 34 oub oub 4.0K Mar 27 14:56 ..
  drwxr-xr-x  5 oub oub 4.0K Mar 27 14:56 .hg
  lrwxrwxrwx  1 oub oub   35 Mar 27 14:51 main.txt -> /home/oub/HGtest/testlink1/main.txt

However when I push that repo to a remote server say bitbucket, the
content of the file main.txt does not get pushed.

Is there any extension or trick to do that?

Or any other possibility to share one file in various repos?

Thanks

Uwe Brauer




More information about the Mercurial mailing list