描述SVN符号
有人可以形容和帮助我理解所有的svn符号,比如A
, M
, G
?
和>
?
所有这些代码都是由svn help status
命令解释的,它会引发:
The first seven columns in the output are each one character wide: First column: Says if item was added, deleted, or otherwise changed ' ' no modifications 'A' Added 'C' Conflicted 'D' Deleted 'I' Ignored 'M' Modified 'R' Replaced 'X' an unversioned directory created by an externals definition '?' item is not under version control '!' item is missing (removed by non-svn command) or incomplete '~' versioned item obstructed by some item of a different kind Second column: Modifications of a file's or directory's properties ' ' no modifications 'C' Conflicted 'M' Modified Third column: Whether the working copy directory is locked ' ' not locked 'L' locked Fourth column: Scheduled commit will contain addition-with-history ' ' no history scheduled with commit '+' history scheduled with commit Fifth column: Whether the item is switched or a file external ' ' normal 'S' the item has a Switched URL relative to the parent 'X' a versioned file created by an eXternals definition Sixth column: Repository lock token (without -u) ' ' no lock token 'K' lock token present (with -u) ' ' not locked in repository, no lock token 'K' locked in repository, lock toKen present 'O' locked in repository, lock token in some Other working copy 'T' locked in repository, lock token present but sTolen 'B' not locked in repository, lock token present but Broken Seventh column: Whether the item is the victim of a tree conflict ' ' normal 'C' tree-Conflicted
一个非常有用的备忘单来pipe理所有的svn命令。
svn help status
会给你一个完整的图例,你需要的所有信息。 由于自助并不是一种select,并暗示这样的事情是不被接受的,下面是我使用Subversion 1.7.5运行svn help status
时得到的传说:
The first seven columns in the output are each one character wide: First column: Says if item was added, deleted, or otherwise changed ' ' no modifications 'A' Added 'C' Conflicted 'D' Deleted 'I' Ignored 'M' Modified 'R' Replaced 'X' an unversioned directory created by an externals definition '?' item is not under version control '!' item is missing (removed by non-svn command) or incomplete '~' versioned item obstructed by some item of a different kind Second column: Modifications of a file's or directory's properties ' ' no modifications 'C' Conflicted 'M' Modified Third column: Whether the working copy directory is locked ' ' not locked 'L' locked Fourth column: Scheduled commit will contain addition-with-history ' ' no history scheduled with commit '+' history scheduled with commit Fifth column: Whether the item is switched or a file external ' ' normal 'S' the item has a Switched URL relative to the parent 'X' a versioned file created by an eXternals definition Sixth column: Repository lock token (without -u) ' ' no lock token 'K' lock token present (with -u) ' ' not locked in repository, no lock token 'K' locked in repository, lock toKen present 'O' locked in repository, lock token in some Other working copy 'T' locked in repository, lock token present but sTolen 'B' not locked in repository, lock token present but Broken Seventh column: Whether the item is the victim of a tree conflict ' ' normal 'C' tree-Conflicted If the item is a tree conflict victim, an additional line is printed after the item's status line, explaining the nature of the conflict.
我希望你意识到, svn help status
是Subversion版本特定的,这意味着这个答案和正确的答案作为正确的答案可能或可能不正确基于您的Subversion版本,其中运行svn help status
将永远是准确的。