Permalink
Commits on Mar 24, 2018
  1. Pass refs to ls-remote

    akshay-verma committed Mar 24, 2018
    This will fix the issue of parsing large output locally
    
    Change-Id: I9a5cf1238147a02c92a3fca53eab9bd57f9d16b4
Commits on Mar 17, 2018
  1. Download latest patch when no patch is specified

    akshay-verma committed Mar 15, 2018
    When someone does "repo download -c <project> <change>"
    without specifying a patch number, by default patch 1 is
    downloaded. An alternative is to look for the latest patch
    and download the same when no explicit patch is given.
    This commit does the same by identifying the latest patch
    using "git ls-remote".
    
    Change-Id: Ia5fa7364415f53a3d9436df4643e38f3c90ded58
Commits on Mar 16, 2018
  1. Merge changes I9c1ab65f,I7b2027ae

    dpursehouse authored and Gerrit Code Review committed Mar 16, 2018
    * changes:
      init: Remove string concat in no-op os.path.join
      Support relative paths in --reference
Commits on Mar 15, 2018
  1. Add a way to override the revision of an <extend-project>

    lhchavez committed Mar 15, 2018
    This change adds support for the 'revision' attribute in
    <extend-project>. This avoids the need to perform a <remove-project>
    followed by a <project> in local manifests.
    
    Change-Id: Id2834fcfc1ae0d74b3347bed3618f250bf696b1f
Commits on Feb 26, 2018
  1. Merge "implement optional 'sync-tags' in the manifest file"

    dpursehouse authored and Gerrit Code Review committed Feb 26, 2018
Commits on Feb 25, 2018
  1. Take care of a tilde on cookie file path

    DaichiUeura committed Feb 25, 2018
    This handles cookie file path like "~/.gitcookies".
    
    Change-Id: I87ba120a940fff38073d520f83b70654e6a239ba
Commits on Feb 14, 2018
  1. implement optional 'sync-tags' in the manifest file

    ganadist committed Feb 14, 2018
    Allow the 'default' and 'project' element in the manifest
    file to apply "--no-tags" option equivalent.
    
    Change-Id: I7e0f8c17a0e25cca744d45df049076d203c52ff5
    Signed-off-by: YOUNG HO CHA <ganadist@gmail.com>
Commits on Jan 22, 2018
  1. init: Remove string concat in no-op os.path.join

    smaeul committed Jan 22, 2018
    This also fixes a line length warning.
    
    Change-Id: I9c1ab65f83a35581dd657a707c7bc3c69db2b1dc
  2. Support relative paths in --reference

    smaeul committed Jan 22, 2018
    Put the correctly-expanded relative paths in objects/info/alternates.
    From gitrepository-layout(5), this path should be "relative to the
    object database, not to the repository".
    
    Change-Id: I7b2027ae23cf7d367b80f5a187603c4cbacdb2de
Commits on Jan 10, 2018
  1. event_log: Fix order of parameters to Add method call

    dpursehouse committed Dec 14, 2017
    Change-Id: I5add20eadfde39806ef4b2cc819da0ae0bfec2f5
Commits on Dec 21, 2017
  1. Sync correctly when subproject url is a relative url to its parent url

    Shouheng Zhang Shouheng Zhang
    Shouheng Zhang authored and Shouheng Zhang committed Dec 8, 2017
    Issue: when subproject url is a relative in .gitmodules
    repo tool cannot handle this and cause:
    "fatal: '***' does not appear to be a git repository
     fatal: Could not read from remote repository."
    issue.
    
    Signed-off-by: Shouheng Zhang <shouheng.zhang@intel.com>
    Change-Id: I2a24c291ea0074ba13a740b32a11c0c25975e72b
Commits on Dec 7, 2017
  1. Merge "Update commit-msg hook to version from Gerrit 2.14.6"

    dpursehouse authored and Gerrit Code Review committed Dec 7, 2017
Commits on Dec 6, 2017
  1. Update commit-msg hook to version from Gerrit 2.14.6

    dahlstrom-g committed Dec 6, 2017
    Change-Id: I14403fea4d017b97be5131e695803f121d404af2
Commits on Nov 13, 2017
  1. Support --push-option in upload subcommand

    draftcode committed Nov 13, 2017
    Change-Id: I44836f8c66ded5a96cbf5431912e027e681f6529
Commits on Nov 11, 2017
  1. document repo hooks mechanism

    vapier committed Nov 11, 2017
    Change-Id: I9e25b92c846f887f515efcc706cf5a869645e0ec
Commits on Oct 31, 2017
  1. forall: Clarify expansion of REPO_ environment values with -c

    dpursehouse committed Oct 31, 2017
    If a user executes:
    
      repo forall -c echo $REPO_PROJECT
    
    then $REPO_NAME is expanded by the user's shell first, and passed
    as $1 to the shell that executes echo. This will either result in
    no output, or output of whatever REPO_NAME is set to in the user's
    shell. Either way, this is an unexpected result.
    
    The correct way to do it is:
    
      repo forall -c 'echo $REPO_PROJECT'
    
    such that $REPO_NAME is passed in to the shell literally, and then
    expanded to the value set in the environment that was passed to
    the shell.
    
    Update the documentation to make this clearer.
    
    Change-Id: I713caee914172ad8d8f0fafacd27026502436f0d
Commits on Oct 19, 2017
  1. Set GIT_SSH_VARIANT when setting GIT_SSH

    jrn committed Oct 19, 2017
    Make it explicit that the ssh wrapper we use for control master
    support accepts OpenSSH-compatible command line arguments instead of
    asking Git to guess.
    
    The GIT_SSH_VARIANT setting was introduced in Git v2.13.0-rc0~3^2~2
    (2017-02-01) as a more reliable detection method than relying on the
    ssh command name.  Fortunately the default variant was 'ssh' (i.e.,
    OpenSSH-compatible) so this wasn't initially required.
    
    Now Git wants to start using more OpenSSH features
    (-o SendEnv=GIT_PROTOCOL), and in order to do so its ssh variant
    detection will need to be tweaked.  Set GIT_SSH_VARIANT explicitly
    so this helper can continue to work regardless of how Git modifies
    its autodetection.
    
    Reported-by: William Yan <wyan@google.com>
    Change-Id: I6bf2c53b4eb5303a429eae6cb68e0a5ccce89064
Commits on Aug 31, 2017
  1. Provide more specific error message for symlinks errors on Windows

    rpaquay committed Jan 27, 2017
    Change-Id: Ia6099beef37ae6b6143eba243fe7fbe02b74a9bb
  2. Allow quotes in editor command on Windows

    rpaquay committed Nov 3, 2016
    This change allows setting the EDITOR env. variable to point to a
    program location that contains quotes and spaces.
    
    For example:
    
    > set EDITOR="C:\Program Files (x86)\Notepad++\notepad++.exe" -multiInst -nosession
    > repo upload
    
    Change-Id: Ic95b00f7443982b1956a2992d0220e50b1cf6bbb
  3. Replace all os.remove calls

    rpaquay committed Nov 11, 2016
    os.remove raises an exception when deleting read-only files on
    Windows. Replace all calls with calls to platform_utils.remove,
    which deals with deals with that issue.
    
    Change-Id: I4dc9e0c9a36b4238880520c69f5075eca40f3e66
  4. Support pager on Windows

    rpaquay committed Nov 1, 2016
    Windows does not support pipe|fork, but we can simulate by creating
    the pager as a child process, redirecting stdout/in/err appropriately
    and then waiting for the child process to terminate after we are
    done executing the repo command.
    
    Change-Id: I5dd2bdeb4095e4d93bc678802e53c6d4eda0235b
  5. Implement islink, readlink and realpath using Win32 api

    rpaquay committed Nov 1, 2016
    Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c
  6. Handle Windows line endings when reading binary files

    rpaquay committed Nov 1, 2016
    Without this change, '.git\HEAD' files, for examples, are sometime
    read incorrectly resulting in the current branch to be reset to
    "master" when running a "repo init -b xxx" on an already initialized
    repository.
    
    Change-Id: I48c7ef85ff81626edf156914329a560e14252f2a
Commits on Aug 30, 2017
  1. Merge "Fixed upload to remotes with the url ssh://hostname"

    dpursehouse authored and Gerrit Code Review committed Aug 30, 2017
  2. Merge "Add option '--no-cert-checks' for 'upload' sub command."

    dpursehouse authored and Gerrit Code Review committed Aug 30, 2017
  3. Merge changes from topic "windows-support"

    dpursehouse authored and Gerrit Code Review committed Aug 30, 2017
    * changes:
      Port os.rename calls to work on Windows
      Workaround shutil.rmtree limitation on Windows
      Add support for creating symbolic links on Windows
      Make "git command" and "forall" work on Windows
Commits on Aug 29, 2017
  1. Fixed upload to remotes with the url ssh://hostname

    gizmomogwai authored and dpursehouse committed Dec 5, 2016
    Change-Id: I1d0dd4d3f90eac45205f6f4ca98a29b0babdbc3f
Commits on Aug 25, 2017
  1. When starting a branch, do not use a tag or change value for branch.m…

    Zac Livingston authored and dpursehouse committed Jun 13, 2017
    …erge
    
    When starting a branch, branch.merge is set to project revision unless
    the revision is a SHA1. In that case, branch.merge is set to dest_branch
    if defined or manifest default revision otherwise. This special handling
    allows repo upload to work when the project revision is a SHA1.
    
    Extend the special handling to also happen when the project revision
    is a tag value or a change value so that repo upload will work in those
    case as well.
    
    Change-Id: Iff81ece40e770cd02535e80dcb023564d42dcf47
  2. Print a message when fetching is skipped for an immutable ref

    Zac Livingston authored and dpursehouse committed Jun 16, 2017
    The output indicates that fetching happens even when it is skipped.
    
    To avoid confusion, print a message when fetching is skipped for
    an immutable ref so that the user knows when and why a fetch is skipped.
    
    Change-Id: Id6e4812cebc5e57d379feb76a9d034af0b93043b
Commits on Aug 23, 2017
  1. Add option '--no-cert-checks' for 'upload' sub command.

    lukaszgard committed Aug 8, 2017
    This option allow to bypass verification ssl certification while
    establishing connection with Gerrit to upload review.
    
    Change-Id: If2e15f5a273c18a700eb5093ca8a4d5a4cbf80cd
Commits on Aug 8, 2017
  1. Revert "Migrate git-repo to create private changes rather than drafts"

    jrn committed Aug 8, 2017
    This reverts commit d88f53e. I merged
    it too hastily without paying enough attention to compatibility with
    released Gerrit versions.
    
    Change-Id: I4028d4737df1255f11e217da183a19a010597d5b
Commits on Aug 7, 2017
  1. Migrate git-repo to create private changes rather than drafts

    Changcheng Xiao
    Changcheng Xiao committed Aug 7, 2017
    Considering that some users might expect changes created with
    '-d' option are not public. Private changes may be a better
    choice here than work-in-progress changes.
    
    Change-Id: I46a8fb9ae38beb41cf96d6abe82bea6db2439669
  2. Add options for git-repo to support private and wip changes

    Changcheng Xiao
    Changcheng Xiao committed Aug 2, 2017
    This change adds options for git-repo tool to support private
    changes and work-in-progress changes.
    
    Change-Id: I343491f5949f06f1580d53f9cc0dee2dca09130f
Commits on Aug 2, 2017
  1. Merge "download: try to choose . as default project if none"

    dpursehouse authored and Gerrit Code Review committed Aug 2, 2017
  2. Merge "Always print percentage when syncing quietly"

    dpursehouse authored and Gerrit Code Review committed Aug 2, 2017