dusty-phillips / gitifyhg

Tools for using git as a client to mercurial repositories
GNU General Public License v3.0
62 stars 17 forks source link

Don't clone closed hg branches by default #80

Closed dusty-phillips closed 11 years ago

dusty-phillips commented 11 years ago

if an hg branch has been closed, it should be ignored, for all intents in purposes by git. A closed branch in hg is most similar to a deleted branch in git. Implementing this will:

a) make cloning of large repos with many closed branches much faster b) Alleviate issues such as #78 and #75 in which conflicting branch names that are legal in Mercurial are not necessarily legal in git c) Address #74

However, there may be cases where it is necessary or desirable to clone closed branches. I am not yet certain of the best way to do this, but my initial idea is to have something in the git config that says to clone closed branches.

PaulPrice commented 11 years ago

Does this fix (mask) the pypy issue (#62)?

dusty-phillips commented 11 years ago

@PaulPrice, that was creepy cross referencing. ;)

PaulPrice commented 11 years ago

Must have some sorta psychic connection... (: