1. 09 2月, 2010 1 次提交
  2. 28 6月, 2009 9 次提交
  3. 27 6月, 2009 2 次提交
  4. 25 6月, 2009 6 次提交
    • E
      git-svn: convert globs to regexps for branch destinations · f7050599
      Eric Wong 提交于
      Marc Branchaud wrote:
      > I'm fairly happy with this, except for the way the branch
      > subcommand matches refspecs.  The patch does a simple string
      > comparison, but it'd be better to do an actual glob.  I just
      > couldn't track down the right function for that, so I left it as
      > a strcmp and hope that a gitizen can tell me how to glob here.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      f7050599
    • M
      git svn: Support multiple branch and tag paths in the svn repository. · 62244069
      Marc Branchaud 提交于
      This enables git-svn.perl to read multiple 'branches' and 'tags' entries in
      svn-remote config sections.  The init and clone subcommands also support
      multiple --branches and --tags arguments.
      
      The branch (and tag) subcommand gets a new argument: --destination (or -d).
      This argument is required if there are multiple branches (or tags) entries
      configured for the remote Subversion repository.  The argument's value
      specifies which branch (or tag) path to use to create the branch (or tag).
      The specified value must match the left side (without wildcards) of one of
      the branches (or tags) refspecs in the svn-remote's config.
      
      [ew: avoided explicit loop when combining globs with "push"]
      Signed-off-by: NMarc Branchaud <marcnarc@xiplink.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      62244069
    • B
      Add 'git svn reset' to unwind 'git svn fetch' · 195643f2
      Ben Jackson 提交于
      Add a command to unwind the effects of fetch by moving the rev_map
      and refs/remotes/git-svn back to an old SVN revision.  This allows
      revisions to be re-fetched.  Ideally SVN revs would be immutable,
      but permissions changes in the SVN repository or indiscriminate use
      of '--ignore-paths' can create situations where fetch cannot make
      progress.
      Signed-off-by: NBen Jackson <ben@ben.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      195643f2
    • B
      git-svn: speed up find_rev_before · ca5e880e
      Ben Jackson 提交于
      By limiting start revision of find_rev_before to max existing
      revision.  This avoids a long wait if you do
      'git svn reset -r 9999999'.  The linear search within the
      contiguous revisions doesn't seem to be a problem.
      
      [ew: expanded commit message]
      Signed-off-by: NBen Jackson <ben@ben.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      ca5e880e
    • B
      Add 'git svn help [cmd]' which works outside a repo. · 9a8c92ac
      Ben Jackson 提交于
      Previously there was no explicit 'help' command, but 'git svn help'
      still printed the usage message (as an invalid command), provided you
      got past the initialization steps that required a valid repo.
      Signed-off-by: NBen Jackson <ben@ben.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      9a8c92ac
    • T
      git-svn: let 'dcommit $rev' work on $rev instead of HEAD · 5eec27e3
      Thomas Rast 提交于
      'git svn dcommit' takes an optional revision argument, but the meaning
      of it was rather scary.  It completely ignored the current state of
      the HEAD, only looking at the revisions between SVN and $rev.  If HEAD
      was attached to $branch, the branch lost all commits $rev..$branch in
      the process.
      
      Considering that 'git svn dcommit HEAD^' has the intuitive meaning
      "dcommit all changes on my branch except the last one", we change the
      meaning of the revision argument.  git-svn temporarily checks out $rev
      for its work, meaning that
      
      * if a branch is specified, that branch (_not_ the HEAD) is rebased as
        part of the dcommit,
      
      * if some other revision is specified, as in the example, all work
        happens on a detached HEAD and no branch is affected.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      5eec27e3
  5. 24 6月, 2009 3 次提交
  6. 22 6月, 2009 13 次提交
  7. 21 6月, 2009 6 次提交