Comments (2)
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.
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)
- Can't clone HOT 2
- TypeError: int() argument must be a string or a number, not 'changectx' HOT 3
- Checkout fails and file paths have backslashes if using Windows Mercurial
- git-remote-hg does not run in windows because of extensionless script file HOT 3
- setup.py doesn't work with release versions HOT 1
- TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' when doing "git clone hg::..." with mercurial 5.0 HOT 3
- Python3 compatability HOT 8
- Add option to match hash from hg-git HOT 2
- Adopt issues from felipec/git-remote-hg HOT 2
- git-remote-hg can't push backwards
- "git fetch" doesn't work on hg::https://gmplib.org/repo/gmp/
- port to Python 3 HOT 4
- git fetch fails with "error: fast-import died of signal 9" HOT 3
- Add option to translate invalid characters in hg tag names to valid characters in git tag names HOT 6
- v0.4 tag conflicts between felipec & mnauw repositories HOT 2
- Cloning fails from repository requiring HTTP authentication HOT 2
- `main.t` test `23 - remote big push force` fails with git 2.35.1 HOT 4
- tests fail with new version of git: transport 'file' not allowed HOT 5
- adopt/merge/rewrite recent changes in felipec's version of git-remote-hg? HOT 1
- Transfer the githashes to the mercurial repository (locally) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-remote-hg.