Re: [Zope-dev] [Checkins] SVN: z3c.mimetype/ Create infrastructure for z3c.mimetype

2009-02-24 Thread Benji York
On Tue, Feb 24, 2009 at 8:29 AM, Dan Korostelev nad...@gmail.com wrote:
 2009/2/24 Baiju M mba...@zeomega.net:
 Hi Dan,

 On Tue, Feb 24, 2009 at 6:40 PM, Dan Korostelev nad...@gmail.com wrote:
 Log message for revision 97207:
  Create infrastructure for z3c.mimetype

 Changed:
  A   z3c.mimetype/

 I thought of sharing this with you, may be useful.  I have got one tip from
 Jim for creating a new project area:
 http://mail.zope.org/pipermail/zope3-dev/2006-October/020701.html

 Heh, nice trick with `z` :) Thank you.

A slight refinement:

svn mkdir path-to-repo/new-project{,trunk,tags,branches}

Using the `z` trick, that would be:

svn mkdir `z`/new-project{,trunk,tags,branches}
-- 
Benji York
Senior Software Engineer
Zope Corporation
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] [Checkins] SVN: z3c.mimetype/ Create infrastructure for z3c.mimetype

2009-02-24 Thread Dan Korostelev
2009/2/24 Benji York be...@zope.com:
 On Tue, Feb 24, 2009 at 8:29 AM, Dan Korostelev nad...@gmail.com wrote:
 2009/2/24 Baiju M mba...@zeomega.net:
 Hi Dan,

 On Tue, Feb 24, 2009 at 6:40 PM, Dan Korostelev nad...@gmail.com wrote:
 Log message for revision 97207:
  Create infrastructure for z3c.mimetype

 Changed:
  A   z3c.mimetype/

 I thought of sharing this with you, may be useful.  I have got one tip from
 Jim for creating a new project area:
 http://mail.zope.org/pipermail/zope3-dev/2006-October/020701.html

 Heh, nice trick with `z` :) Thank you.

 A slight refinement:

    svn mkdir path-to-repo/new-project{,trunk,tags,branches}

 Using the `z` trick, that would be:

    svn mkdir `z`/new-project{,trunk,tags,branches}

Thanks! BTW, there tips are probably useful enough to be included to
zope3docs' development section. :)

-- 
WBR, Dan Korostelev
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] [Checkins] SVN: z3c.mimetype/ Create infrastructure for z3c.mimetype

2009-02-24 Thread Zvezdan Petkovic

On Feb 24, 2009, at 8:53 AM, Dan Korostelev wrote:
 2009/2/24 Benji York:
 On Tue, Feb 24, 2009 at 8:29 AM, Dan Korostelev wrote:
 Heh, nice trick with `z` :) Thank you.

 A slight refinement:

svn mkdir path-to-repo/new-project{,trunk,tags,branches}

 Using the `z` trick, that would be:

svn mkdir `z`/new-project{,trunk,tags,branches}

 Thanks! BTW, there tips are probably useful enough to be included to
 zope3docs' development section. :)

Or even one character shorter, (plus no need to create a script, put  
it in the path and make it executable)
:-)

svn mkdir $Z/new-project{,trunk,tags,branches}

where Z is an environment variable in your .profile (or .bash_profile)

Z=svn+ssh://svn.zope.org/repos/main
export Z

or  .login for C shell users

setenv Z svn+ssh://svn.zope.org/repos/main

Do we need to put a disclaimer that for the shortcut shown above the  
shell needs to support brace expansion -- the output of ``set -o``  
should have ``braceexpand on``.

Most of the modern Bourne-derived shells do have it and it's on by  
default.  The C shell has always had it AFAIK.  A user could switch it  
off in both shell kinds.

I guess that would be too much detail.
:-)

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )