for instance im working on a small revision for an apache project
if I update with the main body of code someone would surely have my guts for garters
to avoid that i set the sticky bit on
which means my revision is ‘frozen in time’
svn does not support sticky but you can always update to a designated version
http://svnbook.red-bean.com/en/1.1/re28.html
svn update -r3
update to revision 3 only
thanks norm
Martin Gainty
“The ground… was suffering from the effects of recent rain, and once
more the Australians found themselves on a sticky wicket.” – Bells Life in London 1882
To: toad@yahoogroups.com
From: toad@dunbar-it.co.uk
Date: Fri, 9 Oct 2009 12:21:59 +0100
Subject: RE: [toad] [9.7.2.5] CVS sticky Tag
Hi Seb,
CVS is not something I’m very familiar with - I can use it to check in,
out and that’s about it. However, from my document on CVS, I found this:
4.9 Sticky tags
Sometimes a working copy’s revision has extra data associated with it,
for example it might
be on a branch (see Chapter 5 [Branching and merging], page 41), or
restricted to versions
prior to a certain date by ‘checkout -D’ or ‘update -D’. Because this
data persists - that
is, it applies to subsequent commands in the working copy - we refer to
it as sticky.
Most of the time, stickiness is an obscure aspect of cvs that you don’t
need to think
about. However, even if you don’t want to use the feature, you may need
to know something
about sticky tags (for example, how to avoid them!).
You can use the status command to see if any sticky tags or dates are
set:
$ cvs status driver.c
===================================================================
File: driver.c Status: Up-to-date
Chapter 4: Revisions 39
Version: 1.7.2.1 Sat Dec 5 19:35:03 1992
RCS Version: 1.7.2.1 /u/cvsroot/yoyodyne/tc/driver.c,v
Sticky Tag: rel-1-0-patches (branch: 1.7.2)
Sticky Date: (none)
Sticky Options: (none)
The sticky tags will remain on your working files until you delete them
with 'cvs update
-A’. The ‘-A’ option merges local changes into the version of the file
from the head of the
trunk, removing any sticky tags, dates, or options (other than sticky
‘-k’ options on locally
modified files). See Section A.17 [update], page 120 for more on the
operation of cvs
update.
The most common use of sticky tags is to identify which branch one is
working on, as
described in Section 5.3 [Accessing branches], page 42. However,
non-branch sticky tags
have uses as well. For example, suppose that you want to avoid updating
your working
directory, to isolate yourself from possibly destabilizing changes other
people are making.
You can, of course, just refrain from running cvs update. But if you
want to avoid updating
only a portion of a larger tree, then sticky tags can help. If you check
out a certain revision
(such as 1.4) it will become sticky. Subsequent cvs update commands will
not retrieve the
latest revision until you reset the tag with cvs update -A. Likewise,
use of the ‘-D’ option
to update or checkout sets a sticky date, which, similarly, causes that
date to be used for
future retrievals.
I don’t know if it helps or not!
Cheers,
Norm. [TeamT]
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else. We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes. If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.
We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.
If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.
.,._
`
Questions? Try the on-line FAQ: http://asktoad.com/DWiki/doku.php?id=faq:questions
Trouble downloading or running the freeware update? See http://asktoad.com/DWiki/doku.php/howto_install_and_update_freetoad
Do you know about the other TOAD Yahoo Message Boards? Go here to find out more - http://www.toadsoft.com/maillist.htm`
Your email settings: Individual Email|Traditional
[Change settings via the Web](http://groups.yahoo.com/group/toad/join;_ylc=X3oDMTJmcXFmM2dwBF9TAzk3NDc2NTkwBGdycElkAzExMDM1NDYEZ3Jwc3BJZAMxNzA1MTE1MzY4BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNTUwOTE2ODE-) (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
[
Visit Your Group
](http://groups.yahoo.com/group/toad;_ylc=X3oDMTJkanQwM2YwBF9TAzk3NDc2NTkwBGdycElkAzExMDM1NDYEZ3Jwc3BJZAMxNzA1MTE1MzY4BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjU1MDkxNjgx) |
[
Yahoo! Groups Terms of Use
](http://docs.yahoo.com/info/terms/) |
Unsubscribe
,.,_