mercurial - Is it possible to convert a googlecode hg repository to a largefile repository? -
i have remote hg repository hosted on googlecode. don't have admin access run e.g. lfconvert
on (as far know), , of course lfconvert
can used on local repositories.
so, there way convert googlecode hg repository largefile repository?
(one idea convert local clone of repo largefile repo , push changes "central" googlecode repo, fear trying without knowing if valid approach).
using idea local conversion , push, can take advantage of 'reset' feature repositories:
- do local clone.
- convert largefiles: `hg lfconvert normal_repo largefiles_repo``. do not delete original clone until sure works.
- reset hosted repository (see https://code.google.com/p/support/wiki/mercurialfaq#mercurial_faq).
- push largefiles repository.
pushing largefiles repository without reseting seems problematic because largefiles repository essentially fork of original 1 starting @ point first largefile committed.
if push fails*, can push original clone , you'll started without data loss. (one of many advantages of dvcs. :-))
the big downside of course has ever cloned project working different fork of repository. danger when involving changing history , motivation mercurial phases. if want 'kinder', can start second project largefiles version , place link @ original project cite describing move.
[*] can't figure out google code's documentation whether largefiles extension supported. there reviewed feature request, couldn't find mention of request being implemented. push failing indication largefiles isn't supported though...
Comments
Post a Comment