git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git svn dcommit doesn't support --username option for file:/// urls
@ 2016-02-12 23:14 Tim Ringenbach
  2016-02-15 10:06 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Ringenbach @ 2016-02-12 23:14 UTC (permalink / raw)
  To: git

Hi,

'git svn dcommit' doesn't seem to honor the --username argument when
my svn repository url is a file:/// url.  It doesn't complain either,
it just seems to silently ignore the option. My dcommits show up as
the user I'm logged in as. The only way I found to change that is to
'sudo' to some other user.

The actual 'svn' command does support --username with 'svn commit'.

What I'm actually up to, is trying to make a svn to git mirror
bi-directional. Right now, I have a cron job that 'git svn fetch's and
'git push origin's with some configs setup so that it does what I
want.

I was experimenting with writing some scripting to go in the other
direction, and my first step was seeing if I could commit to svn as
any user.  It seems like I should be able to and that git-svn just
doesn't support it.

(BTW, I'm aware there's a lot of pitfalls I'll have to work around,
and that I'll need to be very careful with verifying that the most
recent 'git-svn-id:' matches the branch and revision I expect to be
committing to, and that bad things will happen if I mess it up.)

Thanks,
Tim

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-15 22:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 23:14 git svn dcommit doesn't support --username option for file:/// urls Tim Ringenbach
2016-02-15 10:06 ` Eric Wong
2016-02-15 19:16   ` Tim Ringenbach
2016-02-15 21:14     ` Eric Wong
2016-02-15 22:01       ` Tim Ringenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).