[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issues with svn copy

From: <kfogel_at_collab.net>
Date: 2004-09-22 20:26:56 CEST

Greg, is it possible for you to send your mails in plaintext, instead
of HTML? See

   http://subversion.tigris.org/mailing-list-guidelines.html#encodings

for more.

Thanks,
-Karl

Greg Goodrich <ggoodrich@medinotes.com> writes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> I've scanned through the mailing list, and may have come up with some
> similar circumstances to my question, but nonetheless, I wish to point
> out what I consider a "strange" behaviour of the svn copy command.<br>
> <br>
> My issues thus far are encapsulated in my efforts to convert from VSS
> to Subversion, and therefore the copy command that I'm running is
> "generated" by a script.&nbsp; This may or may not be useful background info.<br>
> <br>
> Given a repository:<br>
> <br>
> dev<br>
> &nbsp; |<br>
> &nbsp; -- tags<br>
> &nbsp; |<br>
> &nbsp; -- trunk<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Charting<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- cp32<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Notebuilder<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Utilities<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- UserMan<br>
> <br>
> All "nodes" are folders in the above tree.<br>
> If I now do the following command:<br>
> <br>
> &nbsp;&nbsp;&nbsp; svn copy --message "version" $repos/trunk/Charting
> $repos/tags/V4.4.2/Charting<br>
> <br>
> What I get is a V4.4.2 folder under tags, with cp32 and Notebuilder
> folders under V4.4.2.&nbsp; This seems strange, but not necessarily
> incorrect.<br>
> <br>
> Now, if I run basically the SAME command, with a different source
> "folder":<br>
> <br>
> &nbsp;&nbsp;&nbsp; svn copy --message "version" $repos/trunk/Utilities
> $repos/tags/V4.4.2/Utilities<br>
> <br>
> I would expect consistent behavior of this, and thus would expect to
> have a UserMan folder directly under V4.4.2.&nbsp; This, however, is not the
> case.&nbsp; Instead I have a Utilities folder under V4.4.2.&nbsp; This is the
> behaviour that I desire to have, but I would prefer it to be consistent
> with the first situation where the V4.4.2 directory didn't yet exist.&nbsp;
> Nonetheless, can this inconsistency be explained?&nbsp; I've read that this
> commad mimics the unix cp command, but it doesn't seem to to me.&nbsp; I've
> never noticed such an inconsistency when using unix cp (12+ years of
> it), though I don't usually use the recursive option to cp.<br>
> A new subtree after running the two commands follows:<br>
> <br>
> tags<br>
> &nbsp; |<br>
> &nbsp; -- V4.4.2<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- cp32<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Notebuilder<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Utilities<br>
> <div class="moz-signature">-- <br>
> <meta http-equiv="Content-Type" content="text/html; ">
> <title>Message</title>
> <meta content="MSHTML 6.00.2800.1170" name="GENERATOR">
> <div><span class="627550115-05122001"><font width="" 450px="" height=""
> 160px="" scrollamount="10" scrolldelay="1" direction="down"
> behavior="slide" loop="1" align="left"
> face="&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
> &lt;DIV&gt;&nbsp;&lt;/DIV&gt;
> &lt;DIV&gt;&nbsp;&lt;/DIV&gt;
> &lt;MARQUEE id=m1 style=">
> <table border="0" cellpadding="0" cellspacing="0">
> <tbody>
> <tr>
> </tr>
> <tr>
> <td valign="top">
> <p><font style="font-size: 9pt; font-family: Verdana;"
> face="Trebuchet MS" size="2"><b><font
> face="Arial, Helvetica, sans-serif">Greg Goodrich</font></b></font><font
> face="Arial, Helvetica, sans-serif" size="2"><br>
> <font style="font-size: 8pt; font-family: Verdana;">Development
> Manager</font></font></p>
> <p><font style="font-size: 9pt; font-family: Verdana;"
> face="Arial, Helvetica, sans-serif" size="2"><b>MediNotes Corporation</b></font><font
> face="Arial, Helvetica, sans-serif" size="2"><br>
> <font style="font-size: 8pt; font-family: Verdana;">1025 Ashworth
> Road, Suite 222<br>
> West Des Moines, IA 50265<br>
> Phone: 515.327.8850 ext. 251<i><br>
> </i>Fax: 515.327.8856<br>
> <br>
> </font></font></p>
> </td>
> <td align="middle" valign="top" width="180">
> <div align="center"><font
> style="font-size: 8pt; font-family: Verdana;"><a
> href="http://www.medinotes.com"><img
> src="cid:part1.08010101.03030109@medinotes.com" nosend="1" border="0"></a></font></div>
> </td>
> </tr>
> <tr>
> <td colspan="2"><font
> style="font-size: 9pt; color: rgb(51, 102, 153); font-family: Verdana;"><b><font
> color="#0066cc" face="Arial, Helvetica, sans-serif" size="2">Charting
> Plus - "The Best EMR Value on the Market!"<br>
> </font></b><font color="#0066cc"
> face="Arial, Helvetica, sans-serif" size="2"><a
> href="http://www.medinotes.com/"><b>www.medinotes.com</b></a></font></font></td>
> </tr>
> </tbody>
> </table>
> <div>&nbsp;</div>
> <blockquote style="margin-right: 0px;">
> <blockquote style="margin-right: 0px;"> </blockquote>
> </blockquote>
> </font></span></div>
> <br>
> </div>
> </body>
> </html>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 22:11:46 2004

This is an archived mail posted to the Subversion Users mailing list.