On Mon, Jun 2, 2008 at 2:08 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
> I decided to try, followed all the instructions.
> First impression is very positive, it was easy. I commited my latest
> changes into hg, so now both repos are in sync.
> I will try to maintain both for a while and see how it goes and will
> import all the modules one by one.


Groovy.

Looks like the commit email got lost somewhere :-/   I thought I had
that sorted...

Also, double-check your ui.username in ~/.hgrc

  [ui]
  username = Vlad Seryakov <[EMAIL PROTECTED]>

  http://naviserver.sourceforge.net/hg/naviserver/


If you're going to try a conversion, you might want to do something
like rsync the sf cvs repo to your local machine, for speed. The hg
convert command wants to be pointed at a checkout, but it reaches back
into the repo for history.

  rsync -avz --delete \
      rsync://naviserver.cvs.sourceforge.net/cvsroot/naviserver/  \
      ~/in/naviserver-CVSROOT

  cvs -d ~/in/naviserver-CVSROOT co -d ~/co/nsmemcache-HEAD modules/nsmemcache

  echo "seryakov=Vlad Seryakov <[EMAIL PROTECTED]>" > ~/authors

  hg convert -A ~/authors --config config.hg.usebranchnames=0 --config
config.hg.clonebranches=1 \
      ~/co/nsmemcache-HEAD ~/co/nsmemcache

  cd ~/co/nsmemcache/default

  hg qinit

  hg qimport -r :

  hg up

  hg qpop -a

  ls

  # all gone...

All that's left is to clean up some of the formatting of the commit
messages. Just edit the patch and then push it. (there's only 8
revisions to nsmemcache).

  less .hg/patches/1.diff

  # looks good

  hg qpush

  vi .hg/patches/2.diff

  hg qpush


You will need to add other people to the ~/authors file if they've
touched the module you're converting.

When your done:

  hg clone ~/co/nsmemcache/default ~/co/nsmemcache-hg
  rm -rf ~/co/nsmemcache

  hg clone ~/co/nsmemcache-hg  ssh://sf/ns/hg/nsmemcache

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to