Version Control for Binary Files?

Scott Palmer swpalmer at gmail.com
Tue Jan 4 20:21:38 UTC 2022


For binary blobs that don’t change too frequently, I would use an artifact repository such as Artifactory.
Otherwise check the file size isn’t too large, decide if you need to enable the large file extension in Mercurial. Mercurial should handle it reasonably well.

Scott

> On Dec 30, 2021, at 10:38 AM, Simon Harrison <info at simonh.uk> wrote:
> 
> Hi list. This is a bit of a stab in the dark, and I'm just after some
> pointers/ideas really. 
> 
> For a project I'm working on, I'm hosting some PDF's, docx's etc for
> various companies. Obviously, files will be added, moved, deleted,
> renamed. 
> 
> What I'm wondering is if there's a program that will take a snapshot
> either at a given time each day, or as changes occur (automatically) so
> a file can be undeleted / restored.
> 
> By the way, this is using Apache httpd and WebDAV shares. I've seen
> that I could use SVN autocommit, but before I go down that road, I'd
> like to know if:
> 
> 1. Could Mercurial do this?
> 2. If not, are you aware of another tool that will?
> 3. It's not worth the trouble (my view at the moment).
> 
> Many thanks for any ideas.
> 
> Simon




More information about the Mercurial mailing list