在svn的服务器上是看不到上传的东西的,提交一次svn会自动生成一个版本文件,这个文件是经过处理的,同样也看不到原文件。 *** 作方法如下:
1、首先在本地仓库创建一个项目。
2、第一次提交代码都需要进行添加,右键项目,选择TortoiseSVN 。
3、然后选择add选项。
4、通过选择项目内文件,哪些需要提交和不需要提交。
5、最后确认上传的项目相关文件和路径,如下图,点击ok,即添加完成。
1、将版本库repos/hooks/pre-revprop-changetmp修改成pre-revprop-change
2、为pre-revprop-change加上执行权限:使用命令chmod +x
3、修改pre-revprop-change
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted Subversion runs this hook by invoking
# a program (script, executable, binary, etc) named 'pre-revprop-change'
# (for which this file is a template), with the following ordered
# arguments:
#
# [1] REPOS-PATH (the path to this repository)
# [2] REVISION (the revision being tweaked)
# [3] USER (the username of the person tweaking the property)
# [4] PROPNAME (the property being set on the revision)
# [5] ACTION (the property is being 'A'dded, 'M'odified, or 'D'eleted)
#
# [STDIN] PROPVAL the new property value is passed via STDIN
#
# If the hook program exits with success, the propchange happens; but
# if it exits with failure (non-zero), the propchange doesn't happen
# The hook program can use the 'svnlook' utility to examine the
# existing value of the revision property
#
# WARNING: unlike other hooks, this hook MUST exist for revision
# properties to be changed If the hook does not exist, Subversion
# will behave as if the hook were present, but failed The reason
# for this is that revision properties are UNVERSIONED, meaning that
# a successful propchange is destructive; the old value is gone
# forever We recommend the hook back up the old value somewhere
#
# On a Unix system, the normal procedure is to have 'pre-revprop-change'
# invoke other programs to do the real work, though it may do the
# work itself too
#
# Note that 'pre-revprop-change' must be executable by the user(s) who will
# invoke it (typically the user >
公司在gitee上开了企业版的账户,希望将公司现有的svn上的项目迁移上去这些都是有很多提交记录的了,希望能将这部分提交记录也保留
1确认gitee支持这种 *** 作不。非常幸运,支持的,见 >
以上就是关于svn上传的东西在什么位置 在svn服务器中,我们提交的东西在啥地方了全部的内容,包括:svn上传的东西在什么位置 在svn服务器中,我们提交的东西在啥地方了、如何修改SVN中已提交的日志、SVN迁移GIT(GITEE)指南等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)