svn - Is there a command which will print the path of the file in the repo-browser in the command line? -
Will the file's path print in the repository in the command line?
The SVN difference only prints the name of the file.
Thank you.
svn info path / to / filename
You will show several pieces of information for which the URL you are looking for and the repository route are:
$ svn info mydialog.h [...] URL: http: //svn.server. Net / my-repo / trunk / ui / mydialog.h repository root: http://svn.server.net/my-repo [...]
Full state of the URL file , And the repository is the original URL of the root repository. The URL will always start with the address of the repository root, so if you trim the repository route from the beginning of the URL, then you leave the repository inside the relative position of the file inside the repository. In this case, it
/trunk/ui/mydialog.h
Comments
Post a Comment