Final Merge From Development Area: Difference between revisions

From MediaWiki
Jump to navigationJump to search
(Created page with "Before building a release, make sure that all of the updates to your development area have committed and merged into the ''trunk''. To verify that your ''dev'' area is up to dat...")
 
(Updated for 36)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Before building a release, make sure that all of the updates to your development area have committed and merged into the ''trunk''.
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:
To verify that your ''dev'' area is up to date and committed:


  [root@taco-dev32 dev]# svn status -u
  [nst@nst-repo dev]$ svn update
  Status against revision:  4100
Updating '.':
  [root@taco-dev32 dev]#
At revision 11990.
[nst@nst-repo dev]$ svn commit
[nst@nst-repo dev]$ svn status -u
  Status against revision:  11990
  [nst@nst-repo dev]$


Use the ''svn info'' command to verify that the ''Last Changed Rev'' value in the ''trunk'' area is greater than or equal to the value in the ''dev'' area.
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):


  [root@taco-dev32 dev]# svn info https://nst.svn.sourceforge.net/svnroot/nst/dev  
USERID=YOUR_USERID
  Path: dev
svn cp svn+ssh://${USERID}@svn.code.sf.net/p/nst/code/dev/36 svn+ssh://${USERID}@svn.code.sf.net/p/nst/code/repo/36
  URL: https://nst.svn.sourceforge.net/svnroot/nst/dev
 
  Repository Root: https://nst.svn.sourceforge.net/svnroot/nst
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.
  Repository UUID: c9574408-7c70-44fe-bb37-9fe24d5f8586
 
  Revision: 4100
  [nst@nst-repo dev]$ svn info https://svn.code.sf.net/p/nst/code/dev/36
  Path: 36
  URL: https://svn.code.sf.net/p/nst/code/dev/36
Relative URL: ^/dev/36
  Repository Root: https://svn.code.sf.net/p/nst/code
  Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
  Revision: 11991
  Node Kind: directory
  Node Kind: directory
  Last Changed Author: rwhalb
  Last Changed Author: pblankenbaker
  Last Changed Rev: 4100
  Last Changed Rev: 11990
  Last Changed Date: 2012-09-03 11:39:54 -0400 (Mon, 03 Sep 2012)
  Last Changed Date: 2020-06-07 07:23:17 -0400 (Sun, 07 Jun 2020)
   
   
  [root@taco-dev32 dev]# svn info https://nst.svn.sourceforge.net/svnroot/nst/trunk
  [nst@nst36-repo livecd]$ svn info https://svn.code.sf.net/p/nst/code/repo/36
  Path: trunk
  Path: 36
  URL: https://nst.svn.sourceforge.net/svnroot/nst/trunk
  URL: https://svn.code.sf.net/p/nst/code/repo/36
  Repository Root: https://nst.svn.sourceforge.net/svnroot/nst
Relative URL: ^/repo/36
  Repository UUID: c9574408-7c70-44fe-bb37-9fe24d5f8586
  Repository Root: https://svn.code.sf.net/p/nst/code
  Revision: 4100
  Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
  Revision: 11991
  Node Kind: directory
  Node Kind: directory
  Last Changed Author: pblankenbaker  
  Last Changed Author: pblankenbaker
  Last Changed Rev: 4096
  Last Changed Rev: 11991
  Last Changed Date: 2012-08-31 08:26:48 -0400 (Fri, 31 Aug 2012)
  Last Changed Date: 2020-06-07 07:29:36 -0400 (Sun, 07 Jun 2020)
   
   
  [root@taco-dev32 dev]#
  [nst@nst-repo dev]$


In the output above, we see that the ''dev'' area is at revision ''4100'' whereas the ''trunk'' area is at revision ''4096''. Since the ''trunk'' area has a older revision, a merge will be required. To perform the merge, follow the instructions found on the [[Subversion Notes]] page.
In the output above, we see that the ''dev'' area is at revision ''11991'' as is the ''repo''. Had the ''repo'' area been at revision lower than ''11991'', a merge will be required. To perform the merge, follow the instructions found on the [[Subversion Notes]] page.

Latest revision as of 10:39, 10 July 2022

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@nst-repo dev]$ svn update
Updating '.':
At revision 11990.
[nst@nst-repo dev]$ svn commit
[nst@nst-repo dev]$ svn status -u
Status against revision:   11990
[nst@nst-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):

USERID=YOUR_USERID
svn cp svn+ssh://${USERID}@svn.code.sf.net/p/nst/code/dev/36 svn+ssh://${USERID}@svn.code.sf.net/p/nst/code/repo/36

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@nst-repo dev]$ svn info https://svn.code.sf.net/p/nst/code/dev/36
Path: 36
URL: https://svn.code.sf.net/p/nst/code/dev/36
Relative URL: ^/dev/36
Repository Root: https://svn.code.sf.net/p/nst/code
Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
Revision: 11991
Node Kind: directory
Last Changed Author: pblankenbaker
Last Changed Rev: 11990
Last Changed Date: 2020-06-07 07:23:17 -0400 (Sun, 07 Jun 2020)

[nst@nst36-repo livecd]$ svn info https://svn.code.sf.net/p/nst/code/repo/36
Path: 36
URL: https://svn.code.sf.net/p/nst/code/repo/36
Relative URL: ^/repo/36
Repository Root: https://svn.code.sf.net/p/nst/code
Repository UUID: b5e161f0-cc72-4f2a-9017-da5bd5071a9c
Revision: 11991
Node Kind: directory
Last Changed Author: pblankenbaker
Last Changed Rev: 11991
Last Changed Date: 2020-06-07 07:29:36 -0400 (Sun, 07 Jun 2020)

[nst@nst-repo dev]$

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