描述SVN符号

描述SVN符号,svn,Svn,请描述并帮助我理解所有svn符号,如A,M,G,?和?svn帮助状态将为您提供一个完整的图例,其中包含您需要的所有信息。由于自助不是一个选项,建议这样做是不可取的,下面是我使用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, o

请描述并帮助我理解所有svn符号,如
A
M
G

svn帮助状态
将为您提供一个完整的图例,其中包含您需要的所有信息。由于自助不是一个选项,建议这样做是不可取的,下面是我使用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
将始终是准确的。

所有这些代码都由
svn help>解释状态
命令,该命令引发:

 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

管理所有svn命令非常方便。

在websearch中键入svn状态,第一个要点是:对于结果代码,请参阅此信息,并提供更多解释性文本。在使用--force选项签出期间,“E”代码的意思是什么?(我想它的意思是“存在”,但我不确定。)E=更新之前存在的文件;无论如何,我建议从SVN迁移到GIT,它的效果好上千倍
G:repo上的更改自动合并到工作副本中