[Trac-tickets] [The Trac Project] #3055: Make trac-admin a bit more userfriendly during initenv

The Trac Project noreply at edgewall.com
Tue Apr 18 14:19:40 CDT 2006


#3055: Make trac-admin a bit more userfriendly during initenv
-----------------------------------+----------------------------------------
 Reporter:  asmodai at in-nomine.org  |       Owner:  daniel
     Type:  enhancement            |      Status:  new   
 Priority:  normal                 |   Milestone:  0.9.6 
Component:  trac-admin             |     Version:  devel 
 Severity:  minor                  |    Keywords:        
-----------------------------------+----------------------------------------
 trac-admin currently generates a traceback when the directory passed to
 trac-admin's initenv is exists.

 The attached patch solves this by checking if the directory exists and
 skipping the creation call. The patch furthermore checks if the passed
 directory already has files in them, checks these to see if it might be a
 Subversion repository (this happens from time to time according to alect)
 and reporting that we do not install into non-empty directories.

 All cases tested.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3055>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list