This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A couple more subversion notes
Daniel Berlin writes:
>
> > It seems to be incredibly hard to find out which branch a file is on.
>
> Huh?
>
> The file is where it is.
> Branches are just seperate directories.
> If it's in the 4.0 directory, it's on the 4.0 branch
>
> Revision numbers don't tell you what branch something is on.
> They tell you what revision the repository is at, and the changesets
> that have been applied to the repository.
>
> If you want to know where the file is, ask where the file is :)
>
> >
> > [aph@zorro gcc-head-test]$ svn status --verbose ChangeLog
> > 105366 104478 mmitchel ChangeLog
> >
> > Now, I happen to know that this is gcc-4_0-branch, and presumably if I
> > make any changes and check it back in that's where the changes will
> > go.
>
> svn info ChangeLog
Aah, that's the key. Where we have one command in CVS, "status",
which tells us which branch a file is on and its status, we now have
two separate commands, "status" and "info". Easy enough, once you
know...
Andrew.