[30867] trunk/dports/net/nagios-plugins

markd at macports.org markd at macports.org
Fri Nov 9 17:25:17 PST 2007


Ryan Schmidt <ryandesign at macports.org> writes:
>> Added Paths:
>> -----------
>>     trunk/dports/net/nagios-plugins/files/
>>     trunk/dports/net/nagios-plugins/files/check_nt.c
>
>FYI: Rather than re-add the file, you should have copied check_nt.c  
>from a prior revision in which it still existed, like this:
>
>svn mkdir files
>svn cp -r 30824 http://svn.macosforge.org/repository/macports/trunk/ 
>dports/net/nagios-plugins/files/check_nt.c files
>
>By not doing this you have disconnected the file from its history  
>("svn log" makes it look like the file just came into existence in  
>r30867, which it didn't), and taken up (an admittedly small amount  
>of) additional space in the repository (Subversion had to store the  
>entire contents of the file in the repository again (albeit  
>compressed) instead of being able to store just a reference to the  
>file that was already there), and undone r21491 (which set a property  
>on that file which you did not set when you re-added the file).

Yes, you're right.  I forgot about that.  We should have a subversion FAQ
somewhere and list useful commands like that.

Mark



More information about the macports-dev mailing list