title: How to use arc land with a git-svn repository?
body: <p>There is a svn repository located in <code>https://host:port/codebase/project</code>, without <code>tags</code> or <code>branches</code> subdirectories. Normally using with SVN, people <code>svn checkout https://host:port/codebase/project</code> to get working copy, and using <code>arc diff</code> and <code>arc commit</code> to lunch a code-review or commit changes onto remote SVN server.</p>
  
  <p>I <code>git svn clone https://host:port/codebase/project</code> the repository recently, and got a Git working copy. After coding on the branch named <code>dev-foo</code>, I used <code>arc diff</code> to start a code-review. Arcanist reported an error when I was <code>arc land</code>ing the commits on the branch <code>dev-foo</code>, which had passed the code-review.</p>
  
  <pre class="lang-sh prettyprint-override"><code>Landing current branch 'master'.
   TARGET  Landing onto "master", the default target under git.
   REMOTE  Using remote "origin", the default remote under Git.
   Exception 
  No pushable remote "origin" exists. Use the "--remote" flag to choose a valid, pushable remote to land changes onto.
  (Run with `--trace` for a full exception trace.)
  </code></pre>
  
  <p><code>arc land --trace</code> showed more information, but still did not help me:</p>
  
  <pre class="lang-sh prettyprint-override"><code> ARGV  '/home/user/.local/opt/arcanist/bin/../scripts/arcanist.php' 'land' '--trace'
   LOAD  Loaded "phutil" from "/home/user/.local/opt/libphutil/src".
   LOAD  Loaded "arcanist" from "/home/user/.local/opt/arcanist/src".
  Config: Reading user configuration file "/home/user/.arcrc"...
  Config: Did not find system configuration at "/etc/arcconfig".
  Working Copy: Unable to find .arcconfig in any of these locations: /home/user/gitrepo/project/.arcconfig.
  Working Copy: Path "/home/user/gitrepo/project" is part of `git` working copy "/home/user/gitrepo/project".
  Working Copy: Project root is at "/home/user/gitrepo/project".
  Config: Did not find local configuration at "/home/user/gitrepo/project/.git/arc/config".
  &gt;&gt;&gt; [0] (+0) &lt;http&gt; http://phab.host/api/user.whoami
  &lt;&lt;&lt; [0] (+1,872) &lt;http&gt; 1,871,961 us
  &gt;&gt;&gt; [1] (+1,876) &lt;exec&gt; $ git symbolic-ref --quiet HEAD
  &lt;&lt;&lt; [1] (+1,884) &lt;exec&gt; 7,125 us
  &gt;&gt;&gt; [2] (+1,885) &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
  &lt;&lt;&lt; [2] (+1,892) &lt;exec&gt; 6,814 us
  &gt;&gt;&gt; [3] (+1,892) &lt;exec&gt; $ git --version
  &lt;&lt;&lt; [3] (+1,898) &lt;exec&gt; 6,057 us
  &gt;&gt;&gt; [4] (+1,899) &lt;exec&gt; $ git ls-remote --get-url 'origin'
  &lt;&lt;&lt; [4] (+1,905) &lt;exec&gt; 6,534 us
  &gt;&gt;&gt; [5] (+1,906) &lt;exec&gt; $ git symbolic-ref --quiet HEAD
  &lt;&lt;&lt; [5] (+1,913) &lt;exec&gt; 6,532 us
  Landing current branch 'master'.
  &gt;&gt;&gt; [6] (+1,914) &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
  &lt;&lt;&lt; [6] (+1,921) &lt;exec&gt; 6,660 us
  &gt;&gt;&gt; [7] (+1,921) &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
  &lt;&lt;&lt; [7] (+1,928) &lt;exec&gt; 6,803 us
  &gt;&gt;&gt; [8] (+1,929) &lt;exec&gt; $ git symbolic-ref --quiet HEAD
  &lt;&lt;&lt; [8] (+1,936) &lt;exec&gt; 6,536 us
  &gt;&gt;&gt; [9] (+1,939) &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
  &lt;&lt;&lt; [9] (+1,946) &lt;exec&gt; 6,509 us
   TARGET  Landing onto "master", the default target under git.
  &gt;&gt;&gt; [10] (+1,947) &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
  &lt;&lt;&lt; [10] (+1,954) &lt;exec&gt; 6,478 us
  &gt;&gt;&gt; [11] (+1,954) &lt;exec&gt; $ git rev-parse --git-dir
  &lt;&lt;&lt; [11] (+1,961) &lt;exec&gt; 6,400 us
   REMOTE  Using remote "origin", the default remote under Git.
  &gt;&gt;&gt; [12] (+1,961) &lt;exec&gt; $ git remote get-url --push -- 'origin'
  &lt;&lt;&lt; [12] (+1,968) &lt;exec&gt; 6,300 us
  
  [2020-01-16 13:39:03] EXCEPTION: (PhutilArgumentUsageException) No pushable remote "origin" exists. Use the "--remote" flag to choose a valid, pushable remote to land changes onto. at [&lt;arcanist&gt;/src/land/ArcanistGitLandEngine.php:34]
  arcanist(head=master, ref.master=cc850163f30c), phutil(head=master, ref.master=cc2a3dbf5903)
    #0 ArcanistGitLandEngine::parseArguments() called at [&lt;arcanist&gt;/src/workflow/ArcanistLandWorkflow.php:253]
    #1 ArcanistLandWorkflow::run() called at [&lt;arcanist&gt;/scripts/arcanist.php:394]
  </code></pre>
  
  <p>Would you please let me know how to <code>arc land</code> with a <code>git-svn</code> repository?</p>
  
  <hr>
  
  <p><strong>update for a new clue</strong></p>
  
  <p><a href="https://secure.phabricator.com/T13293" rel="nofollow noreferrer">This thread</a>, found in <a href="https://secure.phabricator.com/" rel="nofollow noreferrer">https://secure.phabricator.com/</a>, might help, but I'm not quite understand.</p>