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:

  1. do local clone.
  2. convert largefiles: `hg lfconvert normal_repo largefiles_repo``. do not delete original clone until sure works.
  3. reset hosted repository (see https://code.google.com/p/support/wiki/mercurialfaq#mercurial_faq).
  4. 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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -