Why --git is not default in qrefresh?

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Fri Aug 3 08:00:54 CDT 2007


>  > Well, I just recently discovered, that
>  >
>  >       hg qrefresh --git
>  >
>  > is able to save info about file permission changes,
>  > copies/renames etc.
>  >
>  > Simple question: why it is not default?
>
> Because while being powerful, git patch format is not mainstream. I
> do not know any Windows implementation except for cygwin. mpatch
> availability may change these considerations though.

Who is applying patches on Windows ;-)

More seriously, it seems to me that the current situation is not quite
perfect - it is reasonably easy to forget about --git in some qrefresh,
loosing some valuable info on next qpop this way.

Maybe I am naive, but ...

a) Wouldn't it be better to keep patches in git format, but just
   give an option of converting them to traditional patch? This
   way hg repo would contain all the info, but would one need to
   provide normal patch, he would simply convert it

b) If not, then maybe it would be better to specify whether patches
   are to be kept in git, or normal format, once and for good - via
   per-repository setting.

?



More information about the Mercurial mailing list