Mercurial source control - pros and cons of Forking -


i'm customizing blogengine.net support custom local features (farsi calendar, rtl theme, etc.)

blogengine.net uses mercurial source control , able create fork of project , commit changes it. i'd release separate project since there major modifications in code support persian language , not intend send pull request main project. afaik have 2 options:

  1. i can download blogengine.net's source code, create new project, commit original source files , commit changes repository.
  2. i can fork main project , have clone repository. can commit on repository.

now benefits of using fork? if create fork, able release project in own page independent project (option no.1)? saying "its own page' mean i'd have address "farsiblogengine.codeplex.com" , make binary version, source code version available download, have discussion forum, etc. features have when not use forking.

generally, pros of using forking instead of downloading main project, creating new project , committing new project?
thanks.

the primary benefit of forking (aka: cloning) (aka: option #2) repository contain entire history of parent repository, enabling option push or pull repository if needed. using option #1, starting snapshot of parent repository , losing project history/lineage.

when determining if 2 repositories related mercurial common ancestor - in case of option #1 not have that, , in case of option #2 will. though explicitly stated don't want perform synchronization parent repo (push/pull/etc..) might find blogengine.net releases critical bug fix want pull on , perform pull occasionally. option #1 prevent doing because not find common ancestry, option #2 allow it.

in terms of releasing code, i'm not sure mean "it's own page", don't think you'll have issues releasing either option. in both cases have simple repository. in case #2 have larger repository more commits , more history.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -