当前位置:   article > 正文

SVN之Cornerstone用法详解 与解决上传.a文件用法

cornerstone svn上传

1.在Launchpad中选择Conerstone文件

2.出现如下视图 

3.在服务器目录区域,点击“+”,添加HTTP Server。 

4.选中所添加的服务端空间。 

5.导入文件 

6.导入中。。。 

7.导入成功 

二、将文件下载到本地

1.选中REPOSITORIES目录下,所要下载的文件 

2.下载成功 

3.点击本地目录文件,双击.xcodeproj文件 

三、字母标识

1.此文件夹下有改动的地方 

2.M : 有修改的地方 

3.?:有添加的文件

1) 

2)点击commit菜单按钮 

3)添加上传信息 

4)上传至服务器成功 

4.!:本地删除了此文件 

5.D(删除)

6.C(冲突)

四、上传.a文件

1.文件夹  -》 前往文件夹 

2.~/.subversion

 

3.编辑config文件

文件中内容如下:

### This file configures various client-side behaviors.

###

### The commented-out examples below are intended to demonstrate

### how to use this file.

### Section for authentication and authorization customizations.

[auth]

### Set password stores used by Subversion. They should be

### delimited by spaces or commas. The order of values determines

### the order in which password stores are used.

### Valid password stores:

###   gnome-keyring        (Unix-like systems)

###   kwallet              (Unix-like systems)

###   keychain             (Mac OS X)

###   windows-cryptoapi    (Windows)

# password-stores = keychain

### To disable all password stores, use an empty list:

# password-stores =

###

### The rest of the [auth] section in this file has been deprecated.

### Both 'store-passwords' and 'store-auth-creds' can now be

### specified in the 'servers' file in your config directory

### and are documented there. Anything specified in this section 

### is overridden by settings specified in the 'servers' file.

# store-passwords = no

# store-auth-creds = no

 

### Section for configuring external helper applications.

[helpers]

### Set editor-cmd to the command used to invoke your text editor.

###   This will override the environment variables that Subversion

###   examines by default to find this information ($EDITOR, 

###   et al).

# editor-cmd = editor (vi, emacs, notepad, etc.)

### Set diff-cmd to the absolute path of your 'diff' program.

###   This will override the compile-time default, which is to use

###   Subversion's internal diff implementation.

# diff-cmd = diff_program (diff, gdiff, etc.)

### Diff-extensions are arguments passed to an external diff

### program or to Subversion's internal diff implementation.

### Set diff-extensions to override the default arguments ('-u').

# diff-extensions = -u -p

### Set diff3-cmd to the absolute path of your 'diff3' program.

###   This will override the compile-time default, which is to use

###   Subversion's internal diff3 implementation.

# diff3-cmd = diff3_program (diff3, gdiff3, etc.)

### Set diff3-has-program-arg to 'yes' if your 'diff3' program

###   accepts the '--diff-program' option.

# diff3-has-program-arg = [yes | no]

### Set merge-tool-cmd to the command used to invoke your external

### merging tool of choice. Subversion will pass 5 arguments to

### the specified command: base theirs mine merged wcfile

# merge-tool-cmd = merge_command

 

### Section for configuring tunnel agents.

[tunnels]

### Configure svn protocol tunnel schemes here.  By default, only

### the 'ssh' scheme is defined.  You can define other schemes to

### be used with 'svn+scheme://hostname/path' URLs.  A scheme

### definition is simply a command, optionally prefixed by an

### environment variable name which can override the command if it

### is defined.  The command (or environment variable) may contain

### arguments, using standard shell quoting for arguments with

### spaces.  The command will be invoked as:

###   <command> <hostname> svnserve -t

### (If the URL includes a username, then the hostname will be

### passed to the tunnel agent as <user>@<hostname>.)  If the

### built-in ssh scheme were not predefined, it could be defined

### as:

# ssh = $SVN_SSH ssh -q

### If you wanted to define a new 'rsh' scheme, to be used with

### 'svn+rsh:' URLs, you could do so as follows:

# rsh = rsh

### Or, if you wanted to specify a full path and arguments:

# rsh = /path/to/rsh -l myusername

### On Windows, if you are specifying a full path to a command,

### use a forward slash (/) or a paired backslash (\\) as the

### path separator.  A single backslash will be treated as an

### escape for the following character.

 

### Section for configuring miscelleneous Subversion options.

[miscellany]

### Set global-ignores to a set of whitespace-delimited globs

### which Subversion will ignore in its 'status' output, and

### while importing or adding files and directories.

### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.

global-ignores = build *~.nib *.so *.pbxuser *.mode *.perspective*

### Set log-encoding to the default encoding for log messages

# log-encoding = latin1

### Set use-commit-times to make checkout/update/switch/revert

### put last-committed timestamps on every file touched.

# use-commit-times = yes

### Set no-unlock to prevent 'svn commit' from automatically

### releasing locks on files.

# no-unlock = yes

### Set mime-types-file to a MIME type registry file, used to

### provide hints to Subversion's MIME type auto-detection

### algorithm.

# mime-types-file = /path/to/mime.types

### Set preserved-conflict-file-exts to a whitespace-delimited

### list of patterns matching file extensions which should be

### preserved in generated conflict file names.  By default,

### conflict files use custom extensions.

# preserved-conflict-file-exts = doc ppt xls od?

### Set enable-auto-props to 'yes' to enable automatic properties

### for 'svn add' and 'svn import', it defaults to 'no'.

### Automatic properties are defined in the section 'auto-props'.

enable-auto-props = yes

### Set interactive-conflicts to 'no' to disable interactive

### conflict resolution prompting.  It defaults to 'yes'.

# interactive-conflicts = no

### Set memory-cache-size to define the size of the memory cache

### used by the client when accessing a FSFS repository via

### ra_local (the file:// scheme). The value represents the number

### of MB used by the cache.

# memory-cache-size = 16

 

### Section for configuring automatic properties.

[auto-props]

*.mode* = svn:mime-type=text/X-xcode

*.pbxuser = svn:mime-type=text/X-xcode

*.perspective* = svn:mime-type=text/X-xcode

*.pbxproj = svn:mime-type=text/X-xcode

### The format of the entries is:

###   file-name-pattern = propname[=value][;propname[=value]...]

### The file-name-pattern can contain wildcards (such as '*' and

### '?').  All entries which match (case-insensitively) will be

### applied to the file.  Note that auto-props functionality

### must be enabled, which is typically done by setting the

### 'enable-auto-props' option.

# *.c = svn:eol-style=native

# *.cpp = svn:eol-style=native

# *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native

# *.dsp = svn:eol-style=CRLF

# *.dsw = svn:eol-style=CRLF

# *.sh = svn:eol-style=native;svn:executable

# *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;

# *.png = svn:mime-type=image/png

# *.jpg = svn:mime-type=image/jpeg

# Makefile = svn:eol-style=native

4.在本地checkOut下来的文件下放入.a文件。 

5.cmd文件内容 

6.此时,即可在cornerstone中上传.a文件

 

转载于:https://my.oschina.net/u/2345393/blog/994774

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/248662
推荐阅读
相关标签
  

闽ICP备14008679号