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

Re: Source of my trunk

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: Mon, 04 Feb 2008 14:46:18 +0100

Hello!

Kota, Sreenivasa ShravanaKumar schrieb:
> But, svn info shows that the working copy is a trunk. Ideally, it should show branch.

Subversion doesn't have a concept of tags or branches like CVS has.
The distinction between a trunk, tag or branch is made by naming
conventions of repository paths.

In order to find out that you are on a branch you could use
"svn log --stop-on-copy". The first log entry should indicate
if you have a newly created file/directory, a "normal" copy or
a branching/tagging operations, when your users create usefull
commit messages. But be carefull: when someone does a copy operation
on a branch, --stop-on-copy will terminate at this operation and
hide the real branching.

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-04 14:46:44 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.