This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: onwards to git


Roland McGrath wrote:
>> All existing tags have been adjusted to point to the
>> rewritten commits, too.
>
> Please name all the existing branches and all the existing tags 'cvs/*',
> and as a top-level name only leave 'master' as a copy of the final
> 'cvs/master' id (which will stand as the marker of when CVS was cut off).
> (Leave no tags at all not under 'cvs/'.)  For all the branch and tag names
> to be used in the future, we'll make them manually with new naming
> conventions.

No problem.
FYI, I did it like this:

  g() { GIT_DIR=/git/glibc1.git git "$@"; }

  for b in $(g br|sed s/..//); do
    g br -m "$b" "cvs/$b"
  done
  g br master cvs/master

  for t in $(g tag -l); do
    g tag "cvs/$t" "$t"
    g tag -d "$t"
  done


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]