Comments (2)
It's not recommend to do like this. Projects with fixed revisions in a manifest.xml should not been changed. If you really want to so, we may:
- Define two revision for project in a manifest file. One revision is a fixed revision which is used for checking out the worktree, and another revision should point to a branch which used for user to upload changes.
- The worktree will never get chance to be updated, because of the fixed revision. Any changes synced from upstream in local worktree will be treated as changes need to be uploaded to upstream.
Is that what you want?
from git-repo-go.
It's not recommend to do like this. Projects with fixed revisions in a manifest.xml should not been changed. If you really want to so, we may:
- Define two revision for project in a manifest file. One revision is a fixed revision which is used for checking out the worktree, and another revision should point to a branch which used for user to upload changes.
- The worktree will never get chance to be updated, because of the fixed revision. Any changes synced from upstream in local worktree will be treated as changes need to be uploaded to upstream.
Is that what you want?
- Why 'git pr' works but 'git repo upload' fails?
- 'Define two revisions' does not make sense, one revision is the fixed revision and the next one is the newest revision on the branch which is always in change.
- 'The worktree will never get chance to be updated' is FALSE. The manifest file(latest_ok_release.xml) may be changed in the remote. When we run 'git repo sync' , we will sync a newest latest-ok version whose revisions are fixed.
from git-repo-go.
Related Issues (20)
- 有没有办法简单地是用本地的manifeset.xml来初始化呢? HOT 3
- 在git协议下,当commit里面有lfs时,可以push, 但是pr会报错 HOT 3
- 不兼容m1 pro 吗? HOT 2
- 该项目还在维护吗? HOT 1
- git pr的时候启动本地文本编辑器错误
- Not all commands from `repo` implemented in `git-repo-go` HOT 2
- git pr can not deal with shell variable expansion correctly HOT 3
- Feature request: Add github api create merge request HOT 4
- 不兼容google 的 repo工具格式,所以下载谷歌的开源代码是下载不下来 HOT 1
- Received HTTP code 500 from proxy after CONNECT HOT 1
- FATAL: cannot find repodir or git: 'abandon' is not a git command. See 'git --help'. HOT 1
- got bad ssh_info error HOT 1
- git pr --change xxx 不能推送已存在的PR HOT 1
- Recursive manifest includes use the wrong base path
- Use testing.T.TempDir in the tests HOT 1
- git repo upload 404? HOT 2
- manifest.xml 中 include 的相对路径计算有问题。 HOT 3
- 更改了default.xml文件,该如何更新整个repo?
- 打开推送评审模式后应该如何推送PR HOT 3
- windows系统 linkfile属性有些问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-repo-go.