[Checkins] Re: SVN: Sandbox/ulif/grokadmin/trunk/src/grokadmin/ Application overview for grokadmin.

Philipp von Weitershausen philipp at weitershausen.de
Sun Oct 7 20:13:58 EDT 2007


Uli Fouquet wrote:
> Log message for revision 80696:
>   Application overview for grokadmin.
> 
> Changed:
>   U   Sandbox/ulif/grokadmin/trunk/src/grokadmin/app.py
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/app_templates/
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/app_templates/applications.pt
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/app_templates/grokadminmacros.pt
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/ftests/application/apps.py
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/GROK_Ornament3.jpg
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/banner-shadow.jpg
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/grok-admin.jpg
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/grok-relax.png
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/grok-relax4.png
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/grok-relax5.gif
>   A   Sandbox/ulif/grokadmin/trunk/src/grokadmin/static/grok.css

Hey,

it looks like you're factoring the Grok admin UI out to a separate 
package. That's very cool. However, the way you're doing it, it loses 
*all* revision history.

It would've been better to use 'svn cp'. You can copy remote files into 
your local sandbox even. Let's say you're in a checkout of grokadmin, 
then do:

   $ svn cp $z/grok/trunk/src/grok/admin/app_templates .

(the $z variables is set to svn+ssh://svn.zope.org/repos/main on my 
system, making things like this much much easier). This would copy the 
whole app_templates directory into your local directory. When you check 
in, these files will be a simple revision copy of their originals, 
therefore preserving history.

Alternatively, you could've started the grokadmin package as an svn copy 
of the grok.admin package and then refactored it.

In any case, it's not acceptable to lose revision history. Then we 
could've saved ourselves the trouble of moving to subversion and stayed 
  with CVS all along.


-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Checkins mailing list