At Sat, 24 Apr 2021 16:52:00 +0200 bo.bergl...@gmail.com wrote: > > If I check out and work on a project I know that the .svn dir contains "stuff" > related to the subversion system. > But is it like with GIT that it contains "everything"? I.e. all older > revisions > too? > > The reason I ask is that I was looking at svn log in order to figure out how > to > see what had happened earlier on the project. > > There are two different ways: > 1) Connect to the server and get the log info: > svn log -v <URL> > > 2) Run the command in the working copy dir: > svn log -v > > I don't know if the second incarnation will only get whatever I have done > myself > when working on the project or if it somehow can show the complete log > history. > All projects I have on my system I originated myself so it is not possible to > check (unless I check out some opensource project from the internet of > course).
I believe svn log always connects to the "server". The difference is where the "url" comes from. In the first form, the user explicitly provides the url and in the second the url is formed from information in the .svn directories. > > When I tested on my project both versions resulted in the same output, but > then > the project was started by me so I obviously have all of the data on my PC > (provided svn saves it inside .svn of course). Actually probably not. See above. svn is server-based -- everything is on the "server", even if the server is a 'file://' type server (eg "local" file-based repository). Git is not server based. Everything is in the .git directory at the top level of the working tree. Git does have 'push' and 'pull' commands to "sync" between the local repostitory and a remote repostitory. The remote repostitory could be thought of as a kind of server, but not in the svn sense. > > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services