# US 2008/0307393 A1 · Synchronizing codes from multiple software configuration management systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307393 A1
- Document ID: US20080307393A1
- Status: Published application
- Kind: A1
- Application number: 11/758,222
- Filed: 2007-06-05
- Published: 2008-12-11
- Earliest claimed: 2007-06-05
- Assignees: International Business Machines Corporation
- Inventors: Shane W. Cartledge; Jung W. Van
- Web page: https://patentgrep.com/patent/US20080307393A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention is directed to synchronizing code from multiple Software Configuration Management (SCM) systems. A method according to an embodiment of the invention includes: obtaining source code from a foreign SCM system and a central SCM system; obtaining a list of files and directories from the foreign SCM system and the central SCM system; creating a batch file; iteratively verifying from the list of files and directories from the foreign SCM system source code whether each file is one of: a new directory, an existing directory, a new file, or an existing file; for each new file and new directory verified from the foreign SCM system, creating in the batch file a command to add the new directory or the new file to the central SCM system; and completing the batch file. Another embodiment includes merging files in the central SCM system.

## Claims

### Claim 1

A method for synchronizing code from a plurality of Software Configuration Management (SCM) systems, comprising:
obtaining source code from a foreign SCM system and a central SCM system;
obtaining a list of files and directories from the foreign SCM system and the central SCM system;
creating a batch file;
iteratively verifying from the list of files and directories from the foreign SCM system source code whether each file is one of: a new directory, an existing directory, a new file, or an existing file;
for each new file and each new directory verified from the foreign SCM system, creating in the batch file a command to add the new directory or the new file to the central SCM system; and
completing the batch file.

### Claim 2 (depends on 1)

The method of claim 1, further comprising automatically or manually running the completed SCM batch file.

### Claim 3 (depends on 1)

The method of claim 1, further comprising repeating the synchronizing for a second foreign SCM system.

### Claim 4 (depends on 1)

The method of claim 1, wherein if a file name in the foreign SCM is identical to a file name in the central SCM system and the file in the foreign SCM system and the file in the central SCM system are different, further comprising:
creating a command in the batch file to merge the file from the foreign SCM and the file from the central SCM into a single file;

### Claim 5 (depends on 1)

The method of claim 1, wherein the obtaining is done dynamically or statically.

### Claim 6 (depends on 1)

The method of claim 1, wherein the iteratively verifying comprises reading a file.
