在 svn 中查看我的变更日志
我在我的机器上本地使用 subversion。我已对存储库进行了一些更改。当我打印 svn status 时,我得到
? binCharged
! mem.xyz
? binSge/.nfs00000000002c8aeb00000060
? binSge/test.dat
? binSge/propFile.dat
? binSge/FTout.dat
? binSge/mem
! binSge/binSge/FTdev.dat
! binSge/binSge/L.dat
! binSge/binSge/Ltest.dat
! binSge/binSge/prevProp.dat
! binSge/binSge/mem.xyz
! binSge/binSge/propFile.dat
! binSge/binSge/FTout.dat
! binSge/binSge/parOut.txt
! binSge/binSge/file.txt
! binSge/binSge/mem
Whis ok,因为 binSge 没有添加到存储库中,并且它仅用于测试。当我打印 svn diff 时,我得到一个空行 这里 我明白我应该得到一些有用的输出。
那么我如何阅读我的变更日志并查看文件之间的差异?
我在命令行中使用科学linux。
I'm using subversion locally on my machine. I have committed some changes to the repository. When I print svn status I get
? binCharged
! mem.xyz
? binSge/.nfs00000000002c8aeb00000060
? binSge/test.dat
? binSge/propFile.dat
? binSge/FTout.dat
? binSge/mem
! binSge/binSge/FTdev.dat
! binSge/binSge/L.dat
! binSge/binSge/Ltest.dat
! binSge/binSge/prevProp.dat
! binSge/binSge/mem.xyz
! binSge/binSge/propFile.dat
! binSge/binSge/FTout.dat
! binSge/binSge/parOut.txt
! binSge/binSge/file.txt
! binSge/binSge/mem
Whis ok since binSge was not added to the repositories and it is used only for testing. When I print svn diff I get a blank line while here I understood that I am supposed to get some usefull output.
So how do I read my changelog and view the difference between the files?
I'm using scientific linux in commandline.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
如果您已经提交了更改,
svn diff
确实会给您一个空白输出。如果您知道提交的修订号,您可以获得更改日志
使用以下命令:
其中,1234 是您的提交号。
删除 -r 选项将为您提供整个日志:
If you have already committed your changes,
svn diff
will give you a blank output indeed.If you know the revision number of your commit, you can get a change log
with the following command:
where, 1234 is your commit number.
Dropping the -r option will give you the entire log: