how to share a file between 2 repositories? Hardlinks?
Dr. Arne Babenhauserheide
arne_bab at web.de
Thu Oct 9 19:22:09 UTC 2025
Uwe Brauer <oub at mat.ucm.es> writes:
>> "Dr. Arne Babenhauserheide" <arne_bab at web.de> writes:
>>> An option could be to use a common bibtex repository, always commit the
>>> changes to the bibtex file individually in the work repository and
>>> export+import those changes to the other repository.
>
>> That’s actually far too complex. Feels like my brain got poisoned by the
>> dozens of git clutches at work.
>
> I am deeply sorry 😉
☺
>> To get bibtex initially, you simply hg pull --force from the bibtex repo
>> and then hg merge bibtex into default.
> hg pull /home/user/HGs/tex/bib/ --force -b bibtex
…
> So that would add quite a bit of changesets to my latex repository.
I think you pulled the bibtex branch and all its dependencies.
To be safe, best init a new repository and create the bibtex branch
there.
If you need the bibtex history, you can use convert with an include rule
to create a repo that *only* has the bibtex file.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1125 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20251009/34cbf5f9/attachment-0001.sig>
More information about the Mercurial
mailing list