Final Merge From Development Area: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
To verify that your ''dev'' area is up to date and committed:
To verify that your ''dev'' area is up to date and committed:


[nst@nst24-repo dev]$ svn update
Updating '.':
At revision 10230.
[nst@nst24-repo dev]$ svn commit
  [nst@nst24-repo dev]$ svn status -u
  [nst@nst24-repo dev]$ svn status -u
  Status against revision:  7967
  Status against revision:  7967
  [nst@nst24-repo dev]$  
  [nst@nst24-repo dev]$  
If you have not created the ''repo'' area yet for release, do so now with an ''svn cp'' command similar to the following (replace USERID with your SourceForge login):
svn cp svn+ssh://USERID@svn.code.sf.net/p/nst/code/dev/28 svn+ssh://USERID@svn.code.sf.net/p/nst/code/repo/28


Use the ''svn info'' command to verify that the ''Last Changed Rev'' value in the ''repo'' area is greater than or equal to the value in the ''dev'' area.
Use the ''svn info'' command to verify that the ''Last Changed Rev'' value in the ''repo'' area is greater than or equal to the value in the ''dev'' area.

Revision as of 08:40, 30 June 2018

Before building a release, make sure that all of the updates to your development area have committed and merged into the repo.

To verify that your dev area is up to date and committed:

[nst@nst24-repo dev]$ svn update
Updating '.':
At revision 10230.
[nst@nst24-repo dev]$ svn commit
[nst@nst24-repo dev]$ svn status -u
Status against revision:   7967
[nst@nst24-repo dev]$ 

If you have not created the repo area yet for release, do so now with an svn cp command similar to the following (replace USERID with your SourceForge login):

svn cp svn+ssh://USERID@svn.code.sf.net/p/nst/code/dev/28 svn+ssh://USERID@svn.code.sf.net/p/nst/code/repo/28

Use the svn info command to verify that the Last Changed Rev value in the repo area is greater than or equal to the value in the dev area.

[nst@nst24-repo dev]$ svn info https://nst.svn.sourceforge.net/svnroot/nst/dev/24 
Redirecting to URL 'https://svn.code.sf.net/p/nst/code/dev/24':
Path: 24
URL: https://svn.code.sf.net/p/nst/code/dev/24
Relative URL: ^/dev/24
Repository Root: https://svn.code.sf.net/p/nst/code
Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
Revision: 7967
Node Kind: directory
Last Changed Author: pblankenbaker
Last Changed Rev: 7966
Last Changed Date: 2016-07-02 14:17:19 -0400 (Sat, 02 Jul 2016)

[nst@nst24-repo dev]$ svn info https://svn.code.sf.net/p/nst/code/repo/24
Path: 24
URL: https://svn.code.sf.net/p/nst/code/repo/24
Relative URL: ^/repo/24
Repository Root: https://svn.code.sf.net/p/nst/code
Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
Revision: 7967
Node Kind: directory
Last Changed Author: pblankenbaker
Last Changed Rev: 7967
Last Changed Date: 2016-07-02 14:18:41 -0400 (Sat, 02 Jul 2016)

[nst@nst24-repo dev]$

In the output above, we see that the dev area is at revision 7967 as is the repo. Had the repo area been at revision lower than 7967, a merge will be required. To perform the merge, follow the instructions found on the Subversion Notes page.