如何在目录上添加属性更改到Subversion

时间:2011-04-05 06:52:21

标签: linux svn

我无法使用Subversion命令行客户端向更改列表中的目录添加属性更改。 Subversion继续跳过我想要添加的目录(这是我项目的主干)。从工作副本的根目录中查看下面的控制台输出。我想要添加的更改位于.目录。

$ svn st
 M      .
M       some/file/do-not-commit.html

--- Changelist 'index':
M       some/other/file.html

这是差异:

$ svn diff
Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /extern/trunk/site:r135-162

<snipped rest of diff>

当我尝试将.上的属性更改添加到index更改列表时会发生什么:

$ svn cl index .
Skipped '.'

有人可以帮我击败Subversion吗?提前致谢。为了完整性,这里是确切的Subversion版本(它是来自Debian Squeeze的版本):

$ svn --version
svn, version 1.6.12 (r955767)
   compiled Mar  1 2011, 22:17:06

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

1 个答案:

答案 0 :(得分:1)

Subversion中的更改列表不支持属性更改。只有文件或目录。