Fossil SCM

Synchronization between local and remote repository (fossil update --latest) does not work

Open

1f5634ea803b8e6… · opened 11 years, 8 months ago

Type
Code_Defect
Priority
Severity
Critical
Resolution
Subsystem
Created
Aug. 1, 2014 6:21 p.m.

"fossil pull; fossil update --latest" won't advance to remote latest check-in (trunk)

Environment: * fossil: 1.29 * repository server: freebsd 9.3 * Workstations: Windows 7

Repository purpose:
* Fossil's repository used for synchronization of configuration files between workstations.

Workflow:

1. Initialization on the server:


    fossil new --admin-user "root" "/var/db/repo/configs.fossil"
    fossil server --port 8123 "/var/db/repo/configs.fossil" &

2. Workstation #1 autosync:on


    fossil clone http://remote.server:8123/configs /path/localrepo.fossil
    cd workdir-with-files
    fossil open /path/localrepo.fossil
    fossil add .
    fossil commit -m "Initial commit"

3. Workstation #2 autosync:on


    fossil clone http://remote.server:8123/configs /path/localrepo.fossil
    cd workdir-with-files
    fossil open /path/localrepo.fossil

make changes to files then


    fossil addremove .
    fossil commit -m "changes"

timeline on the server updated as it should to the latest commit from Workstation#2

4.Workstation #1 autosync:on


    fossil update --latest

timeline stuck on previous stage and won't pick up changes pushed to server from Workstation#1

attempt update manually will fail too


    fossil pull
    fossil update --latest 

# Workstation#1 can't see latest changes in remote repository and fossil update --latest wrongly report: "Already up-to-date"


    fossil branch

does not show any new branches neither on server or workstations

Comments (1)

nobody 11 years, 8 months ago

"fossil pull; fossil update --latest" won't advance to remote latest check-in (trunk)

Environment: * fossil: 1.29 * repository server: freebsd 9.3 * Workstations: Windows 7

Repository purpose:
* Fossil's repository used for synchronization of configuration files between workstations.

Workflow:

1. Initialization on the server:


    fossil new --admin-user "root" "/var/db/repo/configs.fossil"
    fossil server --port 8123 "/var/db/repo/configs.fossil" &

2. Workstation #1 autosync:on


    fossil clone http://remote.server:8123/configs /path/localrepo.fossil
    cd workdir-with-files
    fossil open /path/localrepo.fossil
    fossil add .
    fossil commit -m "Initial commit"

3. Workstation #2 autosync:on


    fossil clone http://remote.server:8123/configs /path/localrepo.fossil
    cd workdir-with-files
    fossil open /path/localrepo.fossil

make changes to files then


    fossil addremove .
    fossil commit -m "changes"

timeline on the server updated as it should to the latest commit from Workstation#2

4.Workstation #1 autosync:on


    fossil update --latest

timeline stuck on previous stage and won't pick up changes pushed to server from Workstation#1

attempt update manually will fail too


    fossil pull
    fossil update --latest 

# Workstation#1 can't see latest changes in remote repository and fossil update --latest wrongly report: "Already up-to-date"


    fossil branch

does not show any new branches neither on server or workstations

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button