文件在Eclipse(Subversion)中有不同的版本号 [英] Files have different revision numbers in Eclipse (Subversion)

查看:123
本文介绍了文件在Eclipse(Subversion)中有不同的版本号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Subversion中的提交将所有文件的修订版本增加1(如果我错了,请更正我)。但是当我看Eclipse时,我看到文件有不同的修订号:





修订版本号在文件名后面。为什么Eclipse会为每个文件显示不同的修订版本号?我正在使用Subclipse插件。

解决方案

假设所有文件具有相同的修订版本号,您是错误的。 >

提交一些文件时,提交的文件都会获得新的修订版本号。此修订版本号是所用存储库的下一个修订版本号。



现在,如果您提交一个文件,而不是另一个文件,则第一个文件将获取一个新的数字,而另一个文件保留旧的号码。



所以在您的图像中,所有具有相同修订版本的文件都在dsame时间提交。文件的更高版本号意味着此文件的提交时间晚于具有较低号码的文件。



因此,显示的版本号符合预期。


A commit in Subversion increments the revision number for all files by 1(correct me if i'm wrong). But when I look in Eclipse, I see that files have different revision numbers:

The revision number is behind the filename. Why is Eclipse showing different revision numbers for each file? I'm using the Subclipse plugin.

解决方案

You are wrong in assuming that all files have the same revision number.

When committing some files the committed files all get a new revision number. This revision number is the next revision number for the repository used.

Now if you commit one file but not the other the first file gets a new number whereas the other file keeps the old number.

So in your image all files with the same revision number were committed at the dsame time. A higher revision number for a file means that this file was committed later than a file with a lower number.

So the displayed revision numbers are as expected.

这篇关于文件在Eclipse(Subversion)中有不同的版本号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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