This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A couple more subversion notes


> 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

>  But "svn ls branches" says
> 
>  105358 dberlin             Oct 16 01:53 gcc-4_0-branch/
> 

Which is the last revision where gcc-4.0-branch was changed.


> So, how on Earth do I go from "105366 104478" to gcc-4_0-branch ?
You don't.
you use svn info on the ChangeLog.
and it will say:


Path: ChangeLog
Name: ChangeLog
URL: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch/gcc/ChangeLog
Repository UUID: 284566a7-fc02-0410-aa54-b5c5f2f15645
Revision: 105366
Node Kind: file
Schedule: normal
Last Changed Author: ebotcazou
Last Changed Rev: 105335
Last Changed Date: 2005-10-12 18:14:32 -0400 (Wed, 12 Oct 2005)
Text Last Updated: 2005-10-19 11:07:35 -0400 (Wed, 19 Oct 2005)
Properties Last Updated: 2005-10-19 11:06:53 -0400 (Wed, 19 Oct 2005)
Checksum: 7b909ad6508f526b54a46d5d609022f8

> Andrew.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]