schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 72 forks source link

Push / pull part of hg repo to / from github #323

Open GuyPardon opened 6 years ago

GuyPardon commented 6 years ago

Hi,

Interesting plugin! I have a question about it: we have an existing hg repository that we would like to host on github for community access. It looks like your plugin can do this.

However, the tricky part is: only part of the hg repository should be synced with github. In particular, some folders should be excluded.

More precisely: our repo layout is like

hg-repo/public/ hg-repo/private/

We would like only the public part be mirrored on github.

Is this feasible? If so, how do we configure this?

Thanks Guy