lumoslabs / txgh

A library for automatically syncing translation resources between Github and Transifex.
1 stars 1 forks source link

Download any branch #22

Closed camertron closed 8 years ago

camertron commented 8 years ago

If you try to download translations for a branch that doesn't have an associated resource in Transifex, txgh will give you an empty .zip and raise an error. This PR fixes the issue by patching the merge logic in MergeCalculator and the download logic in DownloadHandler. It is now possible to diff against a non-existent HEAD.

@lumoslabs/platform