Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
fd361be0
Commit
fd361be0
authored
27 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-02-27 11:05:08 by simonm]
hints and tips for doing a 'cvs update'.
parent
b3688351
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CVS-CHEAT-SHEET
+42
-0
42 additions, 0 deletions
CVS-CHEAT-SHEET
with
42 additions
and
0 deletions
CVS-CHEAT-SHEET
+
42
−
0
View file @
fd361be0
...
...
@@ -175,6 +175,48 @@ Committing Your Changes
For a multiple-file change, you should still get only *one* message.
Updating Your Source Tree
-------------------------
It can be tempting to cvs update just part of a source tree to bring
in some changes that someone else has made, or before committing your
own changes. This is NOT RECOMMENDED! Quite often changes in one
part of the tree are dependent on changes in another part of the tree
(the mk/*.mk files are a good example where problems crop up quite
often). Having an inconsistent tree is a major cause of headaches.
So, to avoid a lot of hassle, follow this recipe for updating your
tree:
$ cd fptools
$ cvs update -Pd 2>&1 | tee log
Look at the log file, and fix any conflicts (denoted by a 'C' in the
first column). Next for every build tree you have pointing at this
source tree, you need to update the links in case any new files have
appeared:
$ cd <build-tree>
$ lndir <source-tree>
Some files might have been removed, so you need to remove the links
pointing to these non-existent files:
$ find . -xtype l -exec rm '{}' \;
And finally, re-configure to take into accound any changes in
mk/config.mk.in.
$ ./configure
To be *really* safe, you should do
$ gmake boot && gmake all
from the top-level, to update the dependencies and build any changed
files.
General Hints
-------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment