List of TF commands that don't require checkin (commit)
It seems that most of the TF commands don't do anything on the repository until you actually commit (oops, I mean checkin) your changes. I know there are a few commands that act immediately. Could we get a list of all the commands that don't require checkin? I believe labelling is one of the commands that acts immediately.
Keith,
The following commands affect the repository and do not require a checkin:
configure
label/unlabel
lock
shelve/unshelve (with delete)
workfold
workspace
Ed
A few other commands which do not need a checkin to affect the server or complete their action include:
branches
changeset
difference
history
merges
shelvesets
status
undo
view
workspaces
Most of these ('undo' being the exception) are simply informational operations and don't affect either the local system or the server. Of course, with the 'changeset' command you can update previously submitted changesets' comment and checkin notes and this doesn't require a subsequent checkin, either.
Hmm, this list is getting long enough that perhaps it would be easier to just remember the commands that *do* require a commit (er checkin). I think those are:
edit/checkout
add
delete
undelete
rename
branch
merge
resolve ?
Any more?
Good point- resolve actually doesn't require a checkin to complete, though it may pend other changes. For example, if a local file is writeable and not checked out, when TF tries to download a new version you can resolve with "checkout and auto merge". This then pends an edit on the file, though the resolve has completed.
One other important command I forgot to mention which *doesn't* require a checkin is the 'get' command. Getting files does affect the server state since we store information about which file versions each workspace has downloaded.
In short, only the following require a checkin to affect server state:
edit/checkout
add
delete
undelete
rename
branch
merge