Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: How to see revision history?

fsvs
Discussion topic

Back to topic list

Re: How to see revision history?

Author pmarek
Full name P.Marek
Date 2007-06-27 08:18:58 PDT
Message On Mittwoch, 27. Juni 2007 Worley, Chris B wrote:
> >> I'd also think that "fsvs status [-r rev[:rev2]]" would show you
> >> which files had changed between any two revisions (list file names only,
> >> not diffs).
> >Hmmm.... there's no equivalent in svn, but I can see the use.
> How hard would this be? Maybe I could volunteer.

For changes between two revisions it's not really much work - just tell the ra
layer that you're at revision rev1, and want to go to rev2.
Using the cb__record_changes() function that should be about half a day or so.

That would be "fsvs show-changes", or "fsvs repos-changes" or something like
that.


But what should happen for a single revision? Show which entries are changed
against the working copy? Then we'd have to compare the local files with the
repository revision (as a local file might be modified against its last
committed revision, but identical to the repository version) - at least via
the MD5 sums.
That's surely possible, too ... but we'd need to define what it should really
do.
Is it just some kind of remote-status?

   fsvs remote-status PATH [-r rev]

   This command looks into the repository and tells you which files would
   get changed on an update - it's a dry-run for update .

   Per default it compares to HEAD, but you can choose another revision
   with the -r parameter.


> >Well, that would have been "fsvs log", which is planned to simply spawn
> >off a "svn log" with the right parameters.
> >
> >Sorry, not yet. Use "svn log", please.
> >Would you like to post a patch?
> That worked well. I'll look into the patch (sounds trivial).
The thing that possibly would have to be done, too, is to extend the
hlp__parse_rev() function to allow for relative values, too - like LAST.
Although, as long as that's not needed, just call "svn log".


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 5 of 10 | Next message in topic »

Messages

Show all messages in topic

How to see revision history? "Worley, Chris B" <chris dot b dot worley at intel dot com> "Worley, Chris B" <chris dot b dot worley at intel dot com> 2007-06-26 16:23:33 PDT
     RE: How to see revision history? "Worley, Chris B" <chris dot b dot worley at intel dot com> "Worley, Chris B" <chris dot b dot worley at intel dot com> 2007-06-26 17:17:12 PDT
         Re: How to see revision history? pmarek P.Marek 2007-06-26 23:21:33 PDT
             RE: Re: How to see revision history? "Worley, Chris B" <chris dot b dot worley at intel dot com> "Worley, Chris B" <chris dot b dot worley at intel dot com> 2007-06-27 07:40:21 PDT
                 Re: How to see revision history? pmarek P.Marek 2007-06-27 08:18:58 PDT
                     Re: How to see revision history? pmarek P.Marek 2007-06-27 08:25:29 PDT
                         Re: How to see revision history? pmarek P.Marek 2007-07-02 09:53:37 PDT
             Re: How to see revision history? Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2007-07-02 05:42:23 PDT
                 RE: Re: How to see revision history? "Worley, Chris B" <chris dot b dot worley at intel dot com> "Worley, Chris B" <chris dot b dot worley at intel dot com> 2007-07-02 07:29:32 PDT
                     Re: How to see revision history? pmarek P.Marek 2007-07-02 08:14:43 PDT
Messages per page: