Giter Club home page Giter Club logo

Comments (2)

mnauw avatar mnauw commented on August 30, 2024

I tested this with some toy repo using largefiles extension and cloning that one worked ok. So, is the repo in question a public one? What version of mercurial is being used?

Another word of caution or warning though. Even if cloning works out ok (as in my toy case), the result will probably not really look as expected. That is (as you may or may not know already), the largefiles extension uses so-called standin files stored in a .hglf subdirectory which are version-controlled in the usual way. Their contents is a hash (of the actual content) which is used to locate the real file (content) in a "central store". Since hg extensions kind of hook/override the high level user commands (such as push, update) the extension can perform the necessary tricks and book-keeping to ensure the real file (is downloaded and) ends up in desired location, or is properly uploaded (and hash in standin file is updated). Long story short, as all that is done as part of the native hg high level user commands, using git-remote-hg will only result in the standin files in .hglf (exactly representing the versioned repository contents).

It would then take some additional steps to end up with the real files. Such helper support could be added to the git-hg-helper script (similar to how it aids a hg subrepo workflow). That, however, involves appropriately enlisting the extension's codebase and will take some figuring out ...

from git-remote-hg.

berenm avatar berenm commented on August 30, 2024

I believe #8 should fix the issue about .hgrc not being used (not the other issue about the largefiles that won't work).

from git-remote-hg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.