Search code examples
mercurialhgignorehgrc

hgignore - ignore file by specific remote location


I have checkout from a local mercurial repository and want to make a backup on another repo. but files is too large. it's there any chance to ignoring some directories/files on specific remote?


Solution

  • You can use the Convert Extension locally to create a new repository. Using the --filemap option, you can exclude specific paths. This will achieve what you want - create subset of your original repository and push that to the remote repo.