Questions tagged [ident]

31 questions
36
votes
4 answers

How do I enable the ident string for a Git repository?

How do I enable ident $Id$ on files in a Git repository?
pean
  • 532
  • 1
  • 5
  • 13
9
votes
4 answers

How do I set the ident string when using logging.SysLogHandler in Python 2.6?

I have logging configured using logging.fileConfig(). I have a the root logger going to a handler that uses SysLogHandler('/dev/log', handlers.SysLogHandler.LOG_USER) This all works perfectly well, and I see my log entries in /var/log/user.log The…
Trey Stout
  • 6,231
  • 3
  • 24
  • 27
5
votes
1 answer

Best replacement for GCC #ident

I used to set this at top of my source files to be able to grep -a "ID :" on my binaries : #ident "\\n$@ ID : my_library.o v1.3 (25/08/07)@$\\n" However, this is deprecated in GCC 4.3.3. Any suggestions ? I came through…
SCO
  • 63
  • 1
  • 5
5
votes
3 answers

A different approach to ident-style strings in Git?

I'm planning my company's transition from CVS to Git, and certain engineers are wishing we still had use of CVS keyword strings such as $Id: $. I have read all about implementing this with the ident setting .gitattributes, and I understand why it's…
Mykle Hansen
  • 552
  • 3
  • 11
2
votes
0 answers

Subtree-split with empty-ident commit; or, deleting a commit without rebase: an unusual use-case

I have a very large repository with one branch. Its working tree is constantly being updated (every few seconds) and committed (every few minutes). My actual goal here is to run git subtree split for a particular directory and truncate most of the…
user2501886
2
votes
1 answer

MySQL convert to datetime syntax error: unexpected IDENT_QUOTED

We have the following query that runs perfectly in MSSQL but fails to run in MySQL: select CONVERT(datetime, dateVal) as DateOccurred, itemID, COUNT(*) as Hits from ( select itemID, CONVERT(datetime, DateClickUTC) as dateVal from tb_items where…
madeFromCode
  • 721
  • 7
  • 15
2
votes
3 answers

Update ident string after checkin

I have enabled the expansion of $Id:$ via ident in the .gitattributes file. This allows me to quickly identify whether the file is outdated when someone else checked out my repository and installed it from there. Now, I also sync the contents of my…
Ingo Karkat
  • 167,457
  • 16
  • 250
  • 324
2
votes
1 answer

Git: How to get a specific version of a file from its .gitattributes ident?

I have some Python scripts that have an $Id$ field set by .gitattributes at checkout. How can I use this ident string to check out (or otherwise identify) the specific version of the file? The problem arises when a client uses a script, but isn't…
1
vote
2 answers

Sql - the multi-part identifier cannot be bound

select distinct page0.MatterType, page0.Name, page0.MatterNo, page0.security, page0.serial, page6.TribCaseNo, contact0.Name as Cname from page0, page6, page14 left join contact0 on page0.PrimaryContact =…
badD0g01
  • 37
  • 1
  • 3
  • 9
1
vote
1 answer

Convert a ty to an ident in a macro_rules

I have a macro_rules that takes a function_name and calls function_name_x(). Right now I do that by passing function_name as an ident, and creating the new function name via concat_idents!. The problem with this approach is that my IDE does not lint…
David 天宇 Wong
  • 3,724
  • 4
  • 35
  • 47
1
vote
1 answer

Coq question. compile errors. [file-no-extension,filesystem] and grammar entry "ident" permitted "_"

We are very very beginner for coq. The following is code in Basic.v 1 Set Implicit Arguments. 2 3 (* Pretty-print for if-then-else expressions on informative types *) 4 5 Notation "'If' c1 'then' c2 'else' c3" := 6 match c1 with 7 | left _ =>…
Wonil Lee
  • 11
  • 2
1
vote
2 answers

Indentation under wrapped line

I'm beginning in programming and using Pycharm. I adopted 79 lines as maximous line length. But now I don't know if using an extra tab to indent the next line, since the previous line is already indented under the first. This shows what I mean: I…
Vinicius V
  • 127
  • 4
1
vote
1 answer

Visual studio 2017 not indenting code properly

I've just installed Visual Studio 2017 and began writing my ASP.NET MVC 5 web app. I've come across this issue where the indentation of code is not correct. What I noticed is that when I hit the semicolon on var priv = new Phonebase(); it will shift…
Alex Wang
  • 358
  • 3
  • 21
1
vote
1 answer

Ident tool alternative in SVN property

We had already used "Ident" tool in CVS via RCS keywords to get some info like "ID" and "DATE" from our source codes. We could simply do that by inserting keywords $Id$ and $Date$ into the text file, and the nice thing was when we compiled the…
Masood
  • 685
  • 2
  • 8
  • 16
1
vote
2 answers

Fuse Fabric: How to delete a configuration PID from a profile?

I began modifying a profile and made some mistakes along the way. Because of this I have PIDs in the profile which I'd like to delete entirely. These can be seen in the fabric:profile-display default output shown at the bottom of this post. They…
KomodoDave
  • 7,239
  • 10
  • 60
  • 92
1
2 3