a bridge to dropbox (git only)
Uwe Brauer
oub at mat.ucm.es
Sun May 31 08:19:57 UTC 2020
>>> "MJ" == Manuel Jacob <me at manueljacob.de> writes:
> On 2020-05-30 13:57, Uwe Brauer wrote:
>> Hi
>> Googling I found the following
>> https://github.com/anishathalye/git-remote-dropbox
>> Does anybody know about a similar feature for mercurial?
>> I could use the hg-git extension, but I am not sure that this would
>> be a
>> could idea.
> Hg-git always manages a shadow Git repository. You could write some
> glue code (e.g. a shell function) that
> 1) pulls using git-remote-dropbox (from inside the .hg/git directory)
> and imports the changes into hg using "hg gimport"
> 2) exports the changes to git using "hg gexport" and pushes using
> git-remote-dropbox (from inside the .hg/git directory)
ok, that does not sound too complicated
> This way you have two bridges (hg <-> git <-> dropbox), so there's a
> high change that things break, but you could be lucky.
That is encouraging ;-)
> Alternatively someone could implement a Mercurial peer that can
> communicate with dropbox (that would be the equivalent of what
> git-remove-dropbox does). I don’t know how much work that would be.
Right, after some thinking I am not sure that this dropbox plan is a
good strategy, I will it were.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200531/403956f5/attachment.p7s>
More information about the Mercurial
mailing list