Login | Register
My pages Projects Community openCollabNet

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

fsvs
Discussion topic

Hide all messages in topic

All messages in topic

Re: How to see revision history?

Author pmarek
Full name P.Marek
Date 2007-07-02 09:53:37 PDT
Message Hello Chris,

On Mittwoch, 27. Juni 2007 Philipp Marek wrote:
> On Mittwoch, 27. Juni 2007 Philipp Marek wrote:
> > > >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?
...
> Although, on a brief look at svn_ra_get_log() it might be better just to
> use that function - then there'd be no external dependency on the svn
> binary, and from the description it looks that generating the command line
> parameters is more work than simply calling that function.
>
> How about a "log.c" and "log.h" :-?

> > > That worked well. I'll look into the patch (sounds trivial).
are you doing something in that direction? I'd like to include something like
this in one of the next releases.

Maybe I'll get to the equivalent of "svn diff --summarize", too.


Regards,

Phil

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

Re: How to see revision history?

Author pmarek
Full name P.Marek
Date 2007-07-02 08:14:43 PDT
Message > Just what I needed... thanks!
>
> >-----Original Message-----
> >From: Gunter Ohrner [mailto:G.Ohrner@pos​t.rwth-aachen.de]
> >Sent: Monday, July 02, 2007 6:42 AM
> >To: users at fsvs dot tigris dot org
> >Subject: Re: How to see revision history?
> >
> >Am Mittwoch, 27. Juni 2007, schrieb Philipp Marek:
> >> > 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.
> >
> >Isn't that exactly what "svn diff --summarize" does? ...
Well, now that you mention it, I think we could fold that into "fsvs
remote-status" .... Just fake a current revision, set the destination, and we
should get the correct output.


Regards,

Phil


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

RE: Re: How to see revision history?

Author "Worley, Chris B" <chris dot b dot worley at intel dot com>
Full name "Worley, Chris B" <chris dot b dot worley at intel dot com>
Date 2007-07-02 07:29:32 PDT
Message Just what I needed... thanks!

>-----Original Message-----
>From: Gunter Ohrner [mailto:G.Ohrner@pos​t.rwth-aachen.de]
>Sent: Monday, July 02, 2007 6:42 AM
>To: users at fsvs dot tigris dot org
>Subject: Re: How to see revision history?
>
>Am Mittwoch, 27. Juni 2007, schrieb Philipp Marek:
>> > 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.
>
>Isn't that exactly what "svn diff --summarize" does? Additionally, "svn
>log" can display a list of files changed in a single change set.
>
>Greetings,
>
> Gunter
>
>--
>+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+
>A program is a device used to convert data into error messages.
>+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+
>+ PGP-verschl├╝sselte Mails bevorzugt! +
>+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+

Re: How to see revision history?

Author Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de>
Full name Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de>
Date 2007-07-02 05:42:23 PDT
Message Am Mittwoch, 27. Juni 2007, schrieb Philipp Marek:
> > 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.

Isn't that exactly what "svn diff --summarize" does? Additionally, "svn
log" can display a list of files changed in a single change set.

Greetings,

  Gunter

--
+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+
A program is a device used to convert data into error messages.
+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+
+ PGP-verschl├╝sselte Mails bevorzugt! +
+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+-+-+-+-​+-+-+-+-+-+-+
Attachments

Re: How to see revision history?

Author pmarek
Full name P.Marek
Date 2007-06-27 08:25:29 PDT
Message On Mittwoch, 27. Juni 2007 Philipp Marek wrote:
> > >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".
Although, on a brief look at svn_ra_get_log() it might be better just to use
that function - then there'd be no external dependency on the svn binary, and
from the description it looks that generating the command line parameters is
more work than simply calling that function.

How about a "log.c" and "log.h" :-?


Regards,

Phil


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

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)!

RE: Re: How to see revision history?

Author "Worley, Chris B" <chris dot b dot worley at intel dot com>
Full name "Worley, Chris B" <chris dot b dot worley at intel dot com>
Date 2007-06-27 07:40:21 PDT
Message >-----Original Message-----
>From: Philipp Marek [mailto:philipp at marek dot priv dot at]
>Sent: Wednesday, June 27, 2007 12:22 AM
>To: users at fsvs dot tigris dot org
>Cc: Worley, Chris B
>Subject: Re: How to see revision history?
>
>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.

>
>> How would you look at the changed files of the revision histories?
>>
>> >-----Original Message-----
>> > This has got to be a dumb question, but, given the text for the
"-m" on
>> > the commit switch, their should be some way to dump that history
(show all
>> > the current revisions)?
>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).

Thanks,

Chris
>
>
>Regards,
>
>Phil
>
>
>--
>Versioning your /etc, /home or even your whole installation?
> Try fsvs (fsvs.tigris.org)!
>
>----------------​--------------------​--------------------​-------------
>To unsubscribe, e-mail: users-unsubscribe@fs​vs.tigris.org
>For additional commands, e-mail: users-help at fsvs dot tigris dot org

Re: How to see revision history?

Author pmarek
Full name P.Marek
Date 2007-06-26 23:21:33 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 would you look at the changed files of the revision histories?
>
> >-----Original Message-----
> > This has got to be a dumb question, but, given the text for the "-m" on
> > the commit switch, their should be some way to dump that history (show all
> > the current revisions)?
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?


Regards,

Phil


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

RE: How to see revision history?

Author "Worley, Chris B" <chris dot b dot worley at intel dot com>
Full name "Worley, Chris B" <chris dot b dot worley at intel dot com>
Date 2007-06-26 17:17:12 PDT
Message 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).

How would you look at the changed files of the revision histories?

>-----Original Message-----
>From: Worley, Chris B
>Sent: Tuesday, June 26, 2007 5:24 PM
>To: 'users at fsvs dot tigris dot org'
>Subject: How to see revision history?
>
>
>This has got to be a dumb question, but, given the text for the "-m" on
the commit switch, their
>should be some way to dump that history (show all the current
revisions)?

How to see revision history?

Author "Worley, Chris B" <chris dot b dot worley at intel dot com>
Full name "Worley, Chris B" <chris dot b dot worley at intel dot com>
Date 2007-06-26 16:23:33 PDT
Message This has got to be a dumb question, but, given the text for the "-m" on
the commit switch, their should be some way to dump that history (show
all the current revisions)?
Messages per page: