how to share a file between 2 repositories? Hardlinks?
Uwe Brauer
oub at mat.ucm.es
Mon Oct 6 15:27:28 UTC 2025
Hi
Here is the scenario. I have a single file that I would like to use in two repositories:
```
repo1
repo2
```
Both repositories will, however, be pushed to Helix.
Using symbolic links between the files is of little use, since the content of the symbolic link will not be transmitted.
I therefore considered using hard links. Is this a sensible approach?
I would prefer to avoid employing a subrepository, as I have encountered problems with them in the past.
Thanks
Uwe Brauer
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel.
Stop the war in Gaza, guarantee humanitarian aid, and bring the hostages back.
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5684 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20251006/1359ec54/attachment.p7s>
More information about the Mercurial
mailing list