On Sep 10, 2007, at 04:21, source_changes@macosforge.org wrote:
Revision: 28857 http://trac.macosforge.org/projects/macports/changeset/28857 Author: afb@macports.org Date: 2007-09-10 02:21:08 -0700 (Mon, 10 Sep 2007)
Log Message: ----------- new port: but same as py-checker
Added Paths: ----------- trunk/dports/python/py25-checker/ trunk/dports/python/py25-checker/Portfile trunk/dports/python/py25-checker/files/ trunk/dports/python/py25-checker/files/patch-setup.py.diff
[snip] It would be better in these cases to $ cd dports/python $ svn cp py-checker py25-checker $ cd py25-checker and then edit Portfile and commit. This way the history is preserved in the repository (someone looking at "svn log" sees the history of py-checker, someone using "svn blame" sees why the lines were originally added in py-checker), and also only a diff against py- checker needs to be stored (and not the complete portfile and patchfiles again).
Ryan Schmidt wrote:
It would be better in these cases to
$ cd dports/python $ svn cp py-checker py25-checker $ cd py25-checker
and then edit Portfile and commit. This way the history is preserved in the repository (someone looking at "svn log" sees the history of py-checker, someone using "svn blame" sees why the lines were originally added in py-checker), and also only a diff against py-checker needs to be stored (and not the complete portfile and patchfiles again).
Oh, definitely! Is there anyway to undo it now and start over ? (I did a couple of ports, since pygtk doesn't work for Python 2.4 anymore I supposedly have to update everything and their dog to Python 2.5 now, as far as I can tell) --anders
On Sep 10, 2007, at 05:06, Anders F Björklund wrote:
Ryan Schmidt wrote:
It would be better in these cases to
$ cd dports/python $ svn cp py-checker py25-checker $ cd py25-checker
and then edit Portfile and commit. This way the history is preserved in the repository (someone looking at "svn log" sees the history of py-checker, someone using "svn blame" sees why the lines were originally added in py-checker), and also only a diff against py-checker needs to be stored (and not the complete portfile and patchfiles again).
Oh, definitely! Is there anyway to undo it now and start over ? (I did a couple of ports, since pygtk doesn't work for Python 2.4 anymore I supposedly have to update everything and their dog to Python 2.5 now, as far as I can tell)
Let's see... well, the versions you committed are already occupying (a little) space in the repository, and it's never possible to permanently remove anything from the repository. But one could go back and do it again to hook up the history, which would be nice. That would be, for example (typed from memory so I hope there's no typos): $ cd dports/python $ cp py25-checker/Portfile py25-checker-Portfile $ svn rm py25-checker $ svn ci py25-checker -m "py25-checker: removing port; will be re- added with history" $ svn cp py-checker py25-checker $ mv py25-checker-Portfile py25-checker/Portfile $ svn ci py25-checker -m "py25-checker: re-adding with history" This is assuming you only changed the Portfile, of course, and not any of the files, but if you did change the files, then you see how you would carry those over as well.
Ryan Schmidt wrote:
Oh, definitely! Is there anyway to undo it now and start over ? (I did a couple of ports, since pygtk doesn't work for Python 2.4 anymore I supposedly have to update everything and their dog to Python 2.5 now, as far as I can tell)
Let's see... well, the versions you committed are already occupying (a little) space in the repository, and it's never possible to permanently remove anything from the repository. But one could go back and do it again to hook up the history, which would be nice.
Did that now, all 6 ports in one fell swoop... --anders
participants (2)
-
Anders F Björklund
-
Ryan Schmidt