[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Wrong revision number from running "svn list -v" on local working directory.

From: Kevin Hung <cykhung_at_yahoo.com>
Date: 2005-06-28 17:54:45 CEST

--- Dominic Anello <danello@danky.com> wrote:

> On 2005-06-25 10:07:57 -0700, Kevin Hung wrote:
> > --- Dominic Anello <danello@danky.com> wrote:
> > > On 2005-06-24 09:12:24 -0700, Kevin Hung wrote:
> ----8<----
> > Hi Donminic,
> >
> > Thank you very much for your tip. You are correct.
> > Once I use the command "svn list -r HEAD -v .",
> then
> > svn returns the correct revision number.
> >
> > However, do you think there is some inconsistency
> in
> > this command? For example, if I do "svn list
> help.txt
> > -v", then it works. Should the command "svn ls -v"
> be
> > translated into "svn list -r HEAD -v ."?
>
> It's not inconsistent because the first command you
> give is specifically
> targeting a file, while the second is implicitly
> targeting a current
> directory.
>
> So if the directory is at r7 and the file is at r9,
> then the first
> command will list the file at r9, while the second
> command will list the
> contents of the directory *as it exists in the
> repository* at r7.
>
>
> > So should I always "svn list -r HEAD -v" (via
> alias)
> > on everything (eg. local file, local directory,
> > repository file and repository directory)?
>
> Either that or get in the habit of doing an "svn up"
> after committing.
>
> -Dominic
>

Great. Thanks for the tip.

Kevin.

                
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 28 18:00:56 2005

This is an archived mail posted to the Subversion Users mailing list.