You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alon Bar-Lev <al...@gmail.com> on 2008/11/01 09:09:12 UTC
[FEATURE REQUEST] Print current repository revision when performing update
Hello,
It is handy to know the current repository revision before performing
an update so that one can know what happened since the last update.
Current sequence is to execute "svn info" and then "svn update". But
if you happened to forget to "svn info" you are screwed.
What I suggesting is adding the old revision to svn update output,
something like:
$ svn update
<snip>
At revision 3468 was 3421.
Thanks,
Alon Bar-Lev.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: [FEATURE REQUEST] Print current repository revision when performing update
Posted by Alon Bar-Lev <al...@gmail.com>.
Hello,
I did not intend of creating some complex logic. Just display the
revision of the object that is being updated.
If you like to do this more complete, the output of svn update should
be something like:
$ svn update
U lib/a.c (3421->3468)
U src/b.c (3470->3468)
At revision 3468 was 3421.
But I don't think this has great advantage... It is CVS like... :)
Alon.
On 11/1/08, Andy Levy <an...@gmail.com> wrote:
> On Sat, Nov 1, 2008 at 05:09, Alon Bar-Lev <al...@gmail.com> wrote:
> > Hello,
> >
> > It is handy to know the current repository revision before performing
> > an update so that one can know what happened since the last update.
> >
> > Current sequence is to execute "svn info" and then "svn update". But
> > if you happened to forget to "svn info" you are screwed.
> >
> > What I suggesting is adding the old revision to svn update output,
> > something like:
> >
> > $ svn update
> > <snip>
> > At revision 3468 was 3421.
>
>
> What would the output be with a mixed-revision WC?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: [FEATURE REQUEST] Print current repository revision when performing update
Posted by Andy Levy <an...@gmail.com>.
On Sat, Nov 1, 2008 at 05:09, Alon Bar-Lev <al...@gmail.com> wrote:
> Hello,
>
> It is handy to know the current repository revision before performing
> an update so that one can know what happened since the last update.
>
> Current sequence is to execute "svn info" and then "svn update". But
> if you happened to forget to "svn info" you are screwed.
>
> What I suggesting is adding the old revision to svn update output,
> something like:
>
> $ svn update
> <snip>
> At revision 3468 was 3421.
What would the output be with a mixed-revision WC?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org