[Nix-dev] Relocation of svn repos, and git-svn

Peter Simons simons at cryp.to
Tue Dec 27 19:08:24 CET 2011


Hi Lluís,

 > And then, what about local branches? Did you have any?

I didn't have local branches.

 > What to do with them?

You can pull local branches from the old repository into the new one:

  git fetch /my/old/nixpkgs local-branch:local-branch

Then rebase them with regard to trunk (or whatever branch they were
originally derived from):

  git checkout local-branch
  git rebase trunk

After that, "git svn rebase" should do the right thing automatically.

Take care,
Peter



More information about the nix-dev mailing list