RE: Revisiting: Question about "labeling" functionality
From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-01-20 15:43:40 CET
I'm not exactly sure what you want to accomplish with "labelling" (and I
For instance, the standard Subversion tagging tricks work just fine for
Perhaps you want to write some scripts.
For instance, you could implement "svn-label-file label file" as
URL_DIR=$(svn info . | sed -e '/URL:/!d' -e 's/^URL: //')
svn copy $file $LABEL_DIR/$file
That stores the selected version of the file under the "labels/$label"
And you could retrieve a version with "svn-label-select label file" as
URL_DIR=$(svn info . | sed -e '/URL:/!d' -e 's/^URL: //')
svn switch -r$REV $file
Dale
---------------------------------------------------------------------
|
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.