`

How to SVN

阅读更多

#### On SVN server (name is svr)

## go to area you want to store db
% cd /home/backups/subversion
% svnadmin create "$PWD"

% more conf/svnserve.conf
% cd conf
% cp svnserve.conf svnserve.conf.bak
% vi passwd svnserve.conf

## create password file
% diff svnserve.conf*
8c8
< [general]
---
> # [general]
19c19
< password-db = passwd
---
> # password-db = passwd

% cat passwd
[users]
user1 = PASSWORD
user2 = PASSWORD

% svnserve -r "$PWD" -d

#### On svn client (programmers machine)

## Create svn dir structure
mkdir branches tags trunk
cp -r PROJECT trunk

## initial import of directory
% svn import --username $USER $PWD svn://svr/PROJECT/ -m "initial import"

## Now lauch svn client
% smartsvn.sh
% java -jar supervision-0.1.jar
% tkcvs

## If that does not work, use svn command line
$ svn import /tmp/project file:///path/to/repos -m "initial import"

$ svn checkout file:///path/to/repos/trunk project

$ svn status

$ export VISUAL=vim
$ svn ci

$ svn update

分享到:
评论

相关推荐

    cvs2svn-2.4.0.tar.gz

    The document you are currently reading contains a lot of general information about converting from CVS, and specifically how to use cvs2svn to convert your repository to Subversion. cvs2git....

    how to use eclipse

    然而,根据“how to use eclipse”这一标题,我将基于这一假设,提供Eclipse开发环境(IDE)的使用方法。 Eclipse是Java开发环境中广泛使用的一款集成开发工具,它是由Eclipse基金会维护的一个开源项目。Eclipse ...

    HOWTO: Subversion for Windows with Apache server

    svnadmin create C:\path\to\svn\repositories\my_repo ``` ### 4. 设置用户和权限 创建一个用于存储用户名和密码的文件,如`C:\path\to\svn\passwd`。使用`htpasswd`工具(在Apache的`bin`目录下)为每个用户添加...

    How to install legup 1.0 and legup 2.0 in Ubuntu

    Legup是一款开源工具,它具有C-to-Verilog的功能,这意味着它可以将C语言编写的程序转换为Verilog HDL代码,进而用于硬件设计。本指南详细介绍了如何在Ubuntu操作系统中安装Legup 1.0与Legup 2.0。 #### 安装前准备...

    How to install NiftyReg - Linux and MacOs

    2. 使用 SVN 获取最新版本: `$ svn co https://niftyreg.svn.sourceforge.net/svnroot/niftyreg/trunk/nifty_reg niftyreg_source` 创建 build 和 install 文件夹 创建两个文件夹:niftyreg_build 和 niftyreg_...

    Emacs-Beginner-HOWTO

    ### Emacs-Beginner-HOWTO知识点详解 #### 1. 引言 - **版权信息**:本手册的版权信息通常包含在文档的最前面,用于声明作者的权利以及使用许可等。 - **受众与目的**:该部分明确了文档的目标读者为初学者,并且...

    How to Setup Liferay Dev Environment in Windows

    1. **下载**:访问http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.5/liferay-portal-src-6.0.5.zip/download 或通过SVN获取源码。 2. **安装**:解压下载的压缩包到期望的目录。 3. **编译**...

    Eclipse: How to create branches/tags?

    在Eclipse中,我们通常会使用Git或SVN等版本控制系统来管理代码。以下是以Git为例的创建分支和标签的步骤: 1. **创建分支**: - 打开Eclipse,进入Git视图(Team &gt; Show View &gt; Git)。 - 在“Remotes”选项卡中...

    UE(官方下载)

    How to configure syntax highlighting to highlight different file types automatically Project Settings Advanced Project Features - Using the UltraEdit/UEStudio project settings dialog Scripting ...

    VisualSVN.1.7.3

    Fully compatible: VisualSVN contains the most current available Subversion distributions plus the original command line binaries (including svn.exe). Watch the quick Getting Started demo and learn ...

    Emacs Beginner‘s HowTo(Emacs入门指南英文版)

    - **版本控制(vc模式)**:支持Git、SVN等版本控制系统。 - **Shell Mode**:可以直接在Emacs中运行shell命令。 - **Telnet和FTP**:支持远程登录和文件传输功能。 - **Man页面**:直接在Emacs中查看Linux命令的...

    How to Create an HTML Editor for ASP.NET AJAX-HtmlEditor.VS2008

    使用VS2008开发时,还需要了解版本控制工具,如Git或SVN,以管理代码的版本和协同开发。 以上就是创建一个ASP.NET AJAX HTML编辑器的关键知识点。通过集成这些技术,你可以构建出一个功能丰富、用户体验良好的在线...

    Learning ROS for Robotics Programming

    The book will take an easy-to-follow and engaging tutorial approach, providing a practical and comprehensive way to learn ROS.If you are a robotic enthusiast who wants to learn how to build and ...

    Git.Mastering.Version.Control.pdf

    You'll also learn how to migrate from SVN using Git tools or TortoiseGit and migrate from other VCSs, concluding with a collection of resources, links, and appendices. As you progress on to the next...

    Git.Best.Practices.Guide.1783553731

    The book covers how to create and manage a repository on Git before moving on to explain the best practices to work with other developers as a team. It provides descriptions of Git's features, such as...

    serf1.3.9和scons-3.0.1.tar.gz

    在Linux环境中搭建Subversion(简称SVN)版本控制系统时,我们常常会遇到一些必要的依赖库。其中,serf是一个关键的组件,它提供了一个高效、轻量级的HTTP客户端库,用于Subversion与服务器之间的通信。本文将详细...

    Version Control with Subversion (svn手册中英文版)

    This allows you to recover older versions of your data or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of “time machine.” ...

Global site tag (gtag.js) - Google Analytics