José Matos <[EMAIL PROTECTED]> writes:

| On Tuesday 20 February 2007 1:02:56 pm Lars Gullik Bjønnes wrote:
| >
| > svn cp --help
| > copy (cp): Duplicate something in working copy or repository, remembering
| > history. usage: copy SRC DST
| >
| >   SRC and DST can each be either a working copy (WC) path or URL:
| >     WC  -> WC:   copy and schedule for addition (with history)
| >     WC  -> URL:  immediately commit a copy of WC to URL
| >     URL -> WC:   check out URL into WC, schedule for addition
| >     URL -> URL:  complete server-side copy;  used to branch & tag
| 
| OK, now I understand, so instead of
| 
| svn cp . svn+ssh://svn.lyx.org/lyx/lyx-devel/tags/lyx_1_5_0beta1
| 
| I should have used
| 
| svn cp svn+ssh://svn.lyx.org/lyx/lyx-devel/trunk \ 
| svn+ssh://svn.lyx.org/lyx/lyx-devel/tags/lyx_1_5_0beta1
| 
|   Right?

No, not necessarily(?).

If you saw the resulting commit message you saw:

        - rXXX copied unmodified from trunk
        - rXXX+1 configure.ac copied unmodified from trunk.

If you had done an "update" after you did the change to configure.ac
and committed that, you would have gotten just the first line. A bit
less confusing. But yes, you would have got the same if you hade used
URL -> URL copy.

(Basically what you did was to copy a mixed revision working copy to
the repo as a tag.)

-- 
        Lgb

Reply via email to