is it possible to use Mercurial version control to track Word or PDF files?
Is there any limitation or problem?
is it possible to use Mercurial version control to track Word or PDF files?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, but of course you won’t be able to diff in any meaningful way. The files will therefore be treated as binary during merges.
Mercurial is perfectly capable of tracking binary files:
Mercurial stores a binary diff regardless of the file type. The problem with PDF/Word files is that a little change to them usually causes a huge difference in their binary representation on disk.
.docxDocuments are stored as a zipped xml, due to the zipping a single flipped bit inside the archive can cause the zip archive to look completely different.If you don’t grow your repository too large, you probably won’t experience any issues using Mercurial.