{"id":101,"date":"2006-07-12T17:53:28","date_gmt":"2006-07-12T21:53:28","guid":{"rendered":"http:\/\/benjamin.smedbergs.us\/blog\/2006-07-12\/cvs-copies-done-by-anyone\/"},"modified":"2006-07-12T18:09:08","modified_gmt":"2006-07-12T22:09:08","slug":"cvs-copies-done-by-anyone","status":"publish","type":"post","link":"http:\/\/benjamin.smedbergs.us\/blog\/2006-07-12\/cvs-copies-done-by-anyone\/","title":{"rendered":"CVS Copies Done By Anyone"},"content":{"rendered":"<p>One of the pepertual problems of CVS is that it doesn&#8217;t allow for versioned copies of files from one place to another while preserving important history\/blame data. This has traditionally been solved in Mozilla by performing copies of the RCS files on the CVS server. This is not an ideal solution for various reasons, but most painfully because it requires the physical presence of a CVS sysadmin, whose time is at a premium.<\/p>\n<p>In a previous life, Schrep wrote a script that would emulate a server-side CVS copy using only client-side commands: each revision of the old file would be incrementally committed to the new location with information about the original commit time\/date\/author. Unfortunately, that script got lost in the sands of time: fortunately, I have found time to recreate the script. It is now possible to perform cvs copies entirely from the client side, without any special CVS permission.<\/p>\n<p>The script takes as input a <tt>.cvsmoves<\/tt> file, of the form Mozilla already uses for server-side copies. See <a href=\"https:\/\/bugzilla.mozilla.org\/attachment.cgi?id=216745\">this attachment<\/a>  for the real-world example that I was using for testing.<\/p>\n<p><strong>This script is STILL BETA, and MOSTLY UNTESTED. Please <strong>don&#8217;t<\/strong> use it in real-world situations yet without testing the process very thoroughly first!<\/strong><\/p>\n<p><a href=\"http:\/\/svn.smedbergs.us\/commit-cvs-copy\/commit-cvs-copy\">http:\/\/svn.smedbergs.us\/commit-cvs-copy\/commit-cvs-copy<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the pepertual problems of CVS is that it doesn&#8217;t allow for versioned copies of files from one place to another while preserving important history\/blame data. This has traditionally been solved in Mozilla by performing copies of the RCS files on the CVS server. This is not an ideal solution for various reasons, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":0,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}