Mercurial (and, I guess Git) with Dropbox: any drawbacks?

前端 未结 10 2082
谎友^
谎友^ 2020-11-30 00:18

I have a Mercurial repository for a personal project, and I have been storing the master repository in my Dropbox for a few weeks now (something along this line; and I under

10条回答
  •  感动是毒
    2020-11-30 01:09

    I've been using Dropbox with Hg too without experiencing a problem until now. Too late I realized hg doesn't report corruption during routine checkins, only when you try to use the repo for real (the worst of all situations, since you don't know something's broken until you really need it).

    Its not clear whether if the corruption is spontaneous or caused by accessing the repository with Mac, Windows and Linux clients (I use all three at different times). But I've seen at least one case of corruption happening when only the Mac was active so it could well be Dropbox itself.

    If you do decide to live dangerously, run "hg verify" (or "git verify" regularly to turn up any dirt.

提交回复
热议问题