zoukankan      html  css  js  c++  java
  • svn打标签

    1、svn copy -r BASE d:\branch_test\ svn://repos/test/tags/0.6.32-prerelease -m "tag"

    2、svn copy svn://repos/test/trunk svn://repos/test/tags/0.6.32-prerelease -m "tag" 

    Valid options:
      -r [--revision] ARG      : ARG (some commands also take ARG1:ARG2 range)
                                 A revision argument can be one of:
                                    NUMBER       revision number
                                    '{' DATE '}' revision at start of the date
                                    'HEAD'       latest in repository
                                    'BASE'       base rev of item's working copy
                                    'COMMITTED'  last commit at or before BASE

    特别说明:

    使用本地目录做源路径时,如方法1,需要人工创建tags路径后的所有目录。例如, 0.6.32-prerelease,如果这后面还有目录,也要一个一个创建。

    使用svn rul做源路径时,SVN系统会自动再目标路径下创建需要的目录。但是这样会出现一个BUG:

    执行两次相同命令,会拷贝两次,第二次是第一次的子目录。

    C:\Users\Administrator>svn copy svn://10.20.86.138/swordex-code/branches/b_test_
    jxcn_20110826/Coding svn://10.20.86.138/swordex-code/tags/b_test_jxcn_20110826_1
     -m scm
    Committed revision 40.


    C:\Users\Administrator>svn copy svn://10.20.86.138/swordex-code/branches/b_test_
    jxcn_20110826/Coding svn://10.20.86.138/swordex-code/tags/b_test_jxcn_20110826_1
     -m scm
    Committed revision 41.
    C:\Users\Administrator>svn copy svn://10.20.86.138/swordex-code/branches/b_test_
    jxcn_20110826/Coding svn://10.20.86.138/swordex-code/tags/b_test_jxcn_20110826_1
     -m scm

    svn: Path 'tags/b_test_jxcn_20110826_1/Coding' already exists 

     

                                     

  • 相关阅读:
    netcore使用IdentityServer在nginx下502错误的解决
    更新到.netcore3.0后找不到dotnet-ef的解决办法
    openssh-win64 on windows2016 ssh pub key config
    405 Method Not Allowed error with PUT or DELETE Request on IIS Server
    minikube windows hyperx填坑记
    angular当router使用userhash:false时路由404问题
    内网gitlab11.2升级至11.4.5
    Angular7上手体验
    动态规划之背包问题
    Union-Find算法详解
  • 原文地址:https://www.cnblogs.com/linn/p/2159244.html
Copyright © 2011-2022 走看看