SVN Commit specific files

后端 未结 7 1727
野的像风
野的像风 2021-01-29 17:19

Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit).

I\'m working on MAC OS X under Terminal, without

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-29 18:06

    try this script..

    #!/bin/bash
    NULL="_"
    for f in `svn st|grep -v ^\?|sed s/.\ *//`; 
         do LIST="${LIST} $f $NULL on"; 
    done
    dialog --checklist "Select files to commit" 30 60 30 $LIST 2>/tmp/svnlist.txt
    svn ci `cat /tmp/svnlist.txt|sed 's/"//g'`
    

提交回复
热议问题