October 2009 Archives
Fri, 30 Oct 2009 @ 23:13:39
subversion undelete
The Subversion VCS does not have an explicit undelete command to restore files after commiting deletions.
# pwd ~/svn_work/repo/blog/sandbox # svn delete fun.txt D fun.txt # svn commit --message 'Delete fun file.' ./To accomplish an undelete operation, first examine the directory log and select the desired commit revision of the (deleted) file to be restored.
# svn log -verbose --limit 5 ./ ------------------------------------------------------------------------ r73 | timotheus | 2009-10-30 22:44:43 -0400 (Fri, 30 Oct 2009) | 1 line Changed paths: D /blog/sandbox/fun.txt Delete fun file. ------------------------------------------------------------------------ r72 | timotheus | 2009-10-30 22:44:26 -0400 (Fri, 30 Oct 2009) | 1 line Changed paths: M /blog/sandbox/fun.txt ...Here, in this example, revision 72 of fun.txt is selected to be restored. It is necessary to copy the file by repository URL because a deleted file does not exist in the work area.
# svn copy https://host/repo/blog/sandbox/fun.txt@72 ./ A fun.txt # svn commit --message 'Restore fun.txt file from revision 72.' ./This operation could be performed by a single copy command, specifying the URL and bypassing the work area:
# svn copy --message 'Restore fun.txt file from revision 72.' \
https://host/repo/blog/sandbox/fun.txt@72 \
https://host/repo/blog/sandbox/fun.txt
The primary advantage of copying to the work area first is to undelete a group
a files. If the files are first copied to the work area, then the commit of
all undeleted files will be a single atomic operation.
Thu, 15 Oct 2009 @ 00:33:18
ezra red application
“Ezra Red” is the code name for the new HDL revising and rewriting application that I am developing as a personal project. After several weeks of studying the Netbeans platform, I have begun a branch of my original HDL rewriting application that will utilize the Netbeans RCP instead of a custom command-line interface and a custom Swing GUI. Using the Netbeans Platform as a basis for my application will allow me to focus more on discipline specific coding, such as the language parsing and tree rewriting of an HDL project; and not spend so much time concerning myself with the presentation and usability of the application. To track what functionality needs to be implemented, I have created a Task List.
Wed, 07 Oct 2009 @ 16:19:34
statistics including screen size
The site statistics now include some additional miscellanea, including browser
screen sizes and installed browser plugins (Adobe Acrobat Reader, etc.). These
additional statistics are made available by some JavaScript code that is
included at the end of every XHTML document, just before the closing </body>
tag.
