Am Sonntag, 16. August 2015, 15:23:15 schrieb Bram Moolenaar:
> 
> Markus Heidelberg wrote:
> 
> > > BTW: you are working on the git cleanup, but is the Mercurial cleanup
> > > now ready to be committed?  AFAIK it all looks OK, so I could apply this
> > > to my local repository and push it to Google code, right?
> > 
> > Yes, I started with the Git cleanup script. During that I found another
> > tag, which should be slightly moved (to the parent commit) to avoid
> > pointing to an empty Git commit after conversion. In the Git cleanup all
> > empty commits are removed. So here is a little update to the HG cleanup
> > script:
> 
> OK, if there is a chance you still find some improvements for the
> Mercurial cleanup, we better wait a bit before doing that.
> 
> Once you have it all figured out, I hope you can send me the final
> scripts.  I wouldn't want some small mistake spoil the fun.

OK.

> > In my initial mail about repository cleanup from 2015-04-01 I added the
> > following item:
> > 
> > * Rename tags to match the normal version notation:
> >   s/-/./g
> >   e.g. v7-4-683 -> v7.4.683
> > 
> > What do you think about this one? If you want to apply it, then this has
> > to be done in the HG as well to have the same tag names in HG and Git
> > repositories and to be consistent in the tag names of the HG mirror.
> > If you don't like it, then I'd discard this idea.
> 
> I do like the dot instead of the dash.  It only got there because in the
> past it wasn't allowed to have two dots.  Perhaps that dates back from
> the SVN days?
> 
> Now that everybody has to switch their setup anyway, might as well do
> this too.  Once we have the switch done we will avoid more changes that
> breaks people's habits.
> 
> > Maybe you can comment on some other items from the old mail as well.
> 
> Can you repeat the relevant questions?

Oh, not that many remaining which needed clarification. New comments by
myself compared to the old mail after "MH":

* Unify name and mail for author and commiter, see:
  $ git shortlog --email -s

  These should all be the same person for the current history.

  MH: In the latest git commits the mail is Bram@... (uppercase B), so
  I'd use this.

* Format commit messages to work properly with git commands for the log summary,
  e.g. "git shortlog" or "git log --oneline". The output of these commands is 
ugly at the moment.

  That means adding a blank line after the first line and ideally using
  a descriptive one-liner for the first line. This is the format
  recommended for Git repositories.

  e.g. from this:
    Patch 7.2.446
    Problem:    Crash in GUI when closing the last window in a tabpage. 
(ryo7000)
    Solution:   Remove the tabpage from the list before freeing the window.

  to this (from vim_mainline.git):
    [7.2.446] Crash in GUI when closing the last window in a tabpage. (ryo7000)
    
    Problem:    Crash in GUI when closing the last window in a tabpage. 
(ryo7000)
    
    Solution:   Remove the tabpage from the list before freeing the window.
    
    Patch 7.2.446

  There may be better conversions without duplicating the problem
  description.

  MH: Probably we should discard this because it only makes sense if it
  is continued in your scripts.

* Add the patch description for commits before 7.2.328
  Unfortunately these commit messages do not include the patch
  description, this was from the conversion to HG. Has nothing to do
  with migration to Git, but maybe the effort is worth it.

  MH: I have to see whether the effort is manageable.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui