Re: Launchpad gardening

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leonardo Rochael Almeida wrote:

> Thanks Tres and Sidnei,
> 
> My questions were intended to go to the list anyway.
> 
> Can we take a branch from the launchpad mirror and bind it back
> directly at svn+ssh://svn.zope.org/ to commit?
> 
> For instance, say I'm reviewing a bugfix proposed by someone that
> doesn't currently have access to svn.zope.org but added a
> merge-proposal to lp, can I branch it, bind it to
> svn+ssh://svn.zope.org and then commit?
> 
> Wouldn't it be nice if it was possible?

It is possible, at least in theory.  I have tried that out on my local
machine::

 $ cd /tmp
 $ mkdir wibn
 $ cd wibn/
 $ svnadmin create svn-repo
 $ svn mkdir -m "Wouldn't it be nice?" file:///`pwd`/svn-repo/wibn
 $ svn mkdir -m "Wouldn't it be nice?" file:///`pwd`/svn-repo/wibn/trunk
 $ svn co file:///`pwd`/svn-repo/wibn/trunk svn-trunk
 $ cat > svn-trunk/nice.txt
 Wouldn't it be nice if we were older
 and we didn't have to wait so long?
 ^D
 $ svn add svn-trunk/nice.txt
 $ svn commit -m "Sing."  svn-trunk/nice.txt
 $ mkdir bzr-repo
 $ bzr init-repo bzr-repo
 $ cd bzr-repo/
 $ bzr co file:///`cd .. && pwd`/svn-repo/wibn/trunk bzr-trunk
 $ bzr branch bzr-trunk non-commital
 $ cd non-commital/
 $ gvim nice.txt # add more lyrics
 $ bzr commit -m "Sing more."
 $ bzr push file:///`cd ../.. && pwd`/svn-repo/wibn/trunk
 $ cd ../../svn-trunk/
 $ svn up
 $ cat nice.txt  # see the changes

I'm not quite sure how it will work for pushing to SVN from a branch
made against the Launchpad mirror of SVN:  there are a few more possible
points of disconnection in that path.

Maybe Sidnei already works this way?


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvHQRoACgkQ+gerLs4ltQ4wNACdE9SWMrx/tIxHL1C8cFvauN+w
U9kAoMBt21n24BIUXW+Sf9HYU2HIVrlK
=G69T
-----END PGP SIGNATURE-----
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.