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?
Asked
Active
Viewed 74 times
0
-
This question is not clear to me. Do you want to make a backup? Then use a backup programme and specify which files you want (no) backup of. If you want to make a clone: then you need to clone the whole repository with all files. You can limit it to a single branch, but I doubt that's what you need. – planetmaker Jun 10 '16 at 11:23
-
@planetmaker: i'm sorry, yes it is, i want to add another remote from current repo. but since it size was too large, i need to make exception about some files/directories when push to this remote. – Dee Donny Jun 13 '16 at 02:46
1 Answers
0
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.

Sigve Kolbeinson
- 1,133
- 1
- 7
- 16