tsrc icon indicating copy to clipboard operation
tsrc copied to clipboard

Strange warning when running `tsrc sync`

Open dmerejkowsky opened this issue 5 years ago • 2 comments

Environment

  • tsrc 2.1.0 with all the proposed symlink changes
  • Python 3.6.8
  • git 2.26.0 (custom install, due to the next tidbit)
  • Centos 6.10 (linux 2.6.32)

Command you ran

$ tsrc sync

Actual output

> Updating manifest
warning: Not setting branch dev/softlink as its own upstream.
Reset branch 'dev/softlink'
Your branch is up to date with 'origin/dev/softlink'.
Branch 'dev/softlink' set up to track remote branch 'dev/softlink' from 'origin'.
HEAD is now at 2dc5c29 Back to normal

Expected result

Same thing, without the warning :)

dmerejkowsky avatar Jun 15 '20 07:06 dmerejkowsky

@mattblovell : can you please run git remote -v and git branch -avv from <workspace>/.tsrc/manifest and post the results here?

dmerejkowsky avatar Jun 15 '20 08:06 dmerejkowsky

can you please run git remote -v and git branch -avv from /.tsrc/manifest and post the results here?

Sure.

mlovell@lco-vlsi-lg6:~/projects/tsrc_exp/.tsrc/manifest
% pwd   
/home/mlovell/projects/tsrc_exp/.tsrc/manifest

mlovell@lco-vlsi-lg6:~/projects/tsrc_exp/.tsrc/manifest
% git remote -v
origin	/home/mlovell/repo/dr-adb-setup (fetch)
origin	/home/mlovell/repo/dr-adb-setup (push)

I'm using a local filesystem git repository for the manifest file.

mlovell@lco-vlsi-lg6:~/projects/tsrc_exp/.tsrc/manifest
% git branch -avv
* dev/softlink                2dc5c29 [origin/dev/softlink] Back to normal
  remotes/origin/HEAD         -> origin/dev/softlink
  remotes/origin/dev/softlink 2dc5c29 Back to normal
  remotes/origin/master       3204558 Recreating manifest.yml file for symlink support development

mattblovell avatar Jun 15 '20 14:06 mattblovell