svn:本地提交 [英] svn: local commits

查看:82
本文介绍了svn:本地提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Subversion:是否可以提交本地修订而不推送它们,并在以后推送它们?或者缺少此功能,为什么将其称为集中式?

Subversion: is it possible to commit local revisions without pushing them, and push them at a later date - or is the lack of this feature why it's called "centralized" ?

推荐答案

使用Subversion无法进行本地提交。

It is not possible to do local commits with Subversion.

这是因为,作为集中式版本控制系统,您的本地工作副本没有服务器拥有的有关以前的修订,日志条目等的所有信息。如果它是分布式版本控制系统(DVCS),则本应具有的信息。

This is because, as a centralized version control system, your local working copy does not have all the information the server has about past revisions, log entries, etc. which it would have had if it was a Distributed Version Control System (DVCS).

Subversion工作副本包含检出的所有文件的副本,因此您可以还原更改的文件而无需联系服务器。

A subversion working copy contains a copy of all files as they were checked out so you can revert changed files without contacting the server.

如果您确实要做本地提交,您应该看看 SVK ,它是在Subversion之上构建的,它提供了DVCS之类的功能。

If you really want to do local commits you should have a look at SVK, which is built on top of Subversion and provides DVCS like features.

这篇关于svn:本地提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆