logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Directories not first class objects in monotone?: msg#00041

Subject: Re: Directories not first class objects in monotone?
Jean Pierre LeJacq wrote:
I notice that monotone prunes empty directories.  Is it the case
that directories are not first class objects?  How would one
preserve the directory structure of a project?

directories are not first class objects in monotone, no. they are represented implicitly by the existence of files with particular pathnames.

if it's really important for an empty directory to exist, you could put an entry in .mt-attrs and have a hook make the directory when you checkout or update (similar to setting additional file attributes). otherwise we try to keep matters as simple as possible and ignore empty directories.

-graydon



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>