Guest?
 
Project
SubGit
Priority
Normal
Type
Feature
State
Submitted
Assignee
Alexander Kitaev
Subsystem
Translator Core
Affected versions
Miai EAP5 (build 1096)
Fix versions
2.0
Fixed in build
No Fixed in build
  • Created by   Jean Helou
    14 months ago (08 Mar 2012 18:55)
  • Updated by   Alexander Kitaev
    2 months ago (15 Mar 2013 20:29)
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
Hi,

Would it be possible to provide additionnal information on the settings in subgit.conf ?

In particular on the section :
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
shelves = shelves/*:refs/shelves/*
I am looking for a way to have:

  • All branches in svn are synched to git
  • All modification to a synched svn branch done with git is synched back to svn
  • A branch created in git in the synched namespace is synched to svn
  • A branch created in git outside the synched namespace is not synched to svn
Comments (4)
 
History
 
Linked Issues (?)
 
Jean Helou
  Jean Helou
08 Mar 2012 18:56
14 months ago
I found one possible solution:

trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/svn/*
shelves = shelves/*:refs/shelves/*
tags = tags/*:refs/tags/svn/*
this would be worth mentionning somewhere in a user guide ;)
Related Changes
Summary
Better subgit documentationImprove subgit documentation on ref matching
Semyon Vadishev
  Semyon Vadishev
08 Mar 2012 21:33
14 months ago
Hello Jean,

You're right, at this moment SubGit lacks documentation on some core functionality. We even have a special tag for this — http://issues.tmatesoft.com/issues/SGT?q=tag%3A+docs We will definitely fix that before release.
Semyon Vadishev
  Semyon Vadishev
08 Mar 2012 21:42
14 months ago
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/svn/*
shelves = shelves/*:refs/shelves/*
tags = tags/*:refs/tags/svn/*

Yes, that's the way to handle this.
Jean Helou
  Jean Helou
19 Mar 2012 18:32
14 months ago
Thanks for the confirmation.

(email notifications from tmate were classified as spam by google sorry for the delay)
Apply Command

Command Preview: