Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find out which version control system my working copy is from?

If you have some directories from different version control systems (cvs, svn...), how do you find out what type of repository each came from?

like image 849
toddoon Avatar asked Jan 24 '23 22:01

toddoon


1 Answers

"svn info" is the command you want.

/some/random/directory/in/project/space/

$ svn info

Path: .
URL: https://example.org/svn/project/space/
Repository Root: https://example.org/svn/project/
Repository UUID: aaaaaaaa-bbbb-cccc-dddd-333333333333
Revision: 295
Node Kind: directory
Schedule: normal
Last Changed Author: kurt
Last Changed Rev: 295
Last Changed Date: 2008-12-14 01:43:24 -0500 (Thu, 18 Dec 2008)
like image 167
Kurt Avatar answered Jan 26 '23 12:01

Kurt