Re: Command to list all revisions (with date?) when a particular was modified?
Robert Heller <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Organization | Deepwoods Software |
| Message-ID | <[email protected]> |
At Mon, 06 Nov 2023 19:32:55 +0100 [email protected] wrote: > > I am hunting for when a particular change was made in a file under version > control. It happened years ago. > > The versioning system was migrated from CVSNT to Subversion back in 2017 and the > old CVS repository was imported into SVN with all branches and tags etc > available. > > The change I am looking for should have happened back in 2004 when the property > behind what I am hunting for was changed but I cannot find any message about > this in my archives... > > So now I am looking for *when* a particular section of a source file was changed > so I would like to list all revisions when this file had a commit to it at all. > > Then I will extract the revisions in a binary fashion to find when exactly the > change that should have been done in 2004 was actually done. > > Can this be done somehow using the command line interface to svn? > If so what would be the correct command to issue? svn log <path> svn help log > > > I need to get a list of the revisions where the file was changed. > > I tried reading the redbean documentation on line but I am not sure I understand > the way the export works for different revisions of the same file. > > The way I understand svn the revision when you export/checkout a file at a > specific rev number is the file as it existed at the time that revision was > committed. So even if the file did not change during that revision there will be > an exported file if I use the -r argument, right? > > So I need to start by some command to give me the revision numbers when the > specific file *actually changed*. So I can focus on the commits when this file > changed instead of getting lots of the same file because the revisions were done > because something else changed.. > > Can that be done? > -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services