Is there a menu like interactive commit for SVN like Git with --interactive?

Most likely, you know that in git you can get a very good transaction experience using

git commmit --interactive

in which a menu appears in which you can add / update / patch / return things, and you select files by their range, for example: 1-5,10-12,100-1135

$ git commit --interactive
           staged     unstaged path


*** Commands ***
  1: [s]tatus     2: [u]pdate     3: [r]evert     4: [a]dd untracked
  5: [p]atch      6: [d]iff       7: [q]uit       8: [h]elp
What now>

I want to get the same functionality in SVN as the shell command .
Do you know what an SVN command is?

+5
source share
4 answers

, svn . , , .

+7

, CLI ( , " " ) SVN.

, , TortoiseSVN (Windows) RabbitVCS (Linux), , ( , ).

:

graphical commit

0

altem, :

# collect a list modified files
svn st > temp.sh
# use your favourite editor (although it is vim, right?) 
# to edit list into suitable svn command or commands
vim temp.sh
# execute
. ~/temp.sh

gad,

, svn ci svn st

0

: svn ...

But I often use findhis expression -okwhen I want to invite a user:

find . -name "*.jar" -exec svn info {} \; -a -ok svn delete {} \;

Please note that in case you do not want to output svn info, you must call sub-as follows (otherwise -okit will not be output at all):

find . -name "*.jar" -exec sh -c 'svn info "{}" 2>/dev/null' \; -a -ok svn delete {} \;
0
source

All Articles